Update app.py
Browse files
app.py
CHANGED
|
@@ -102,7 +102,7 @@ with gr.Blocks() as demo:
|
|
| 102 |
with gr.Tab(label="Image To Flux Prompt"):
|
| 103 |
input_img = gr.Image(label="Input Picture", type="filepath", height=320) # type="filepath" is good
|
| 104 |
submit_btn = gr.Button(value="Submit")
|
| 105 |
-
output_text = gr.Textbox(label="Flux Prompt (Image Description)", interactive=False) # interactive=False initially for output
|
| 106 |
|
| 107 |
submit_btn.click(generate_description, inputs=[input_img], outputs=[output_text])
|
| 108 |
|
|
|
|
| 102 |
with gr.Tab(label="Image To Flux Prompt"):
|
| 103 |
input_img = gr.Image(label="Input Picture", type="filepath", height=320) # type="filepath" is good
|
| 104 |
submit_btn = gr.Button(value="Submit")
|
| 105 |
+
output_text = gr.Textbox(label="Flux Prompt (Image Description)", interactive=False, max_lines=99) # interactive=False initially for output
|
| 106 |
|
| 107 |
submit_btn.click(generate_description, inputs=[input_img], outputs=[output_text])
|
| 108 |
|