Update app.py
Browse files
app.py
CHANGED
@@ -75,8 +75,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
75 |
gr.HTML(title)
|
76 |
|
77 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
78 |
-
manual_cap = gr.Textbox(label="Manual Image description (optional)", placeholder="If you're not happy with sound result, you can manually describe the scene depicted in your image :)")
|
79 |
-
caption_output = gr.Textbox(label="Caption",
|
80 |
sound_output = gr.Audio(label="Result", elem_id="sound-output")
|
81 |
|
82 |
generate = gr.Button("Generate SFX from Image")
|
|
|
75 |
gr.HTML(title)
|
76 |
|
77 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
78 |
+
manual_cap = gr.Textbox(label="Manual Image description (optional)", lines=2, placeholder="If you're not happy with sound result, you can manually describe the scene depicted in your image :)")
|
79 |
+
caption_output = gr.Textbox(label="Caption", visible=False, elem_id="text-caption")
|
80 |
sound_output = gr.Audio(label="Result", elem_id="sound-output")
|
81 |
|
82 |
generate = gr.Button("Generate SFX from Image")
|