gokaygokay commited on
Commit
00229d2
1 Parent(s): 1836ce5
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def create_interface():
22
 
23
  with gr.Row():
24
  with gr.Column(scale=2):
25
- custom = gr.Textbox(label="Custom Input Prompt (optional)")
26
 
27
  prompt_type = gr.Dropdown(
28
  choices=["Long", "Short", "Medium", "OnlyObjects", "NoFigure", "Landscape", "Fantasy"],
@@ -64,6 +64,7 @@ def create_interface():
64
  with gr.Row():
65
  # **Single Button for Generating Prompt and Text**
66
  generate_button = gr.Button("Generate Random Prompt with LLM")
 
67
  text_output = gr.Textbox(label="LLM Generated Text", lines=10, show_copy_button=True)
68
 
69
  # Updated Models based on provider
 
22
 
23
  with gr.Row():
24
  with gr.Column(scale=2):
25
+ custom = gr.Textbox(label="Custom Input Prompt (optional)", lines=3)
26
 
27
  prompt_type = gr.Dropdown(
28
  choices=["Long", "Short", "Medium", "OnlyObjects", "NoFigure", "Landscape", "Fantasy"],
 
64
  with gr.Row():
65
  # **Single Button for Generating Prompt and Text**
66
  generate_button = gr.Button("Generate Random Prompt with LLM")
67
+ with gr.Row():
68
  text_output = gr.Textbox(label="LLM Generated Text", lines=10, show_copy_button=True)
69
 
70
  # Updated Models based on provider