Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -467,13 +467,13 @@ with gr.Blocks(
|
|
| 467 |
image_output = gr.Image(label="πΌοΈ Scene Image", type="pil", elem_id="output")
|
| 468 |
summary_output = gr.Markdown(label="π Scene Summary", elem_id = "output")
|
| 469 |
explanation_output = gr.Textbox(label="π Scene Explanation", lines=6, elem_id="output")
|
| 470 |
-
with gr.Group(elem_id="accordion")
|
| 471 |
with gr.Row():
|
| 472 |
tts_btn = gr.Button("π Read Aloud", elem_id="tts-btn")
|
| 473 |
tts_audio = gr.Audio(label="Audio", autoplay=False,elem_classes="gr-audio")
|
| 474 |
done_btn = gr.Button("β
Done", visible=False, elem_id="done-btn")
|
| 475 |
|
| 476 |
-
with gr.group(elem_id="accordion")
|
| 477 |
with gr.Row(elem_classes="gr-file")
|
| 478 |
txt_file = gr.File(label="π Explanations (.txt)")
|
| 479 |
pdf_file = gr.File(label="π Scene PDF")
|
|
|
|
| 467 |
image_output = gr.Image(label="πΌοΈ Scene Image", type="pil", elem_id="output")
|
| 468 |
summary_output = gr.Markdown(label="π Scene Summary", elem_id = "output")
|
| 469 |
explanation_output = gr.Textbox(label="π Scene Explanation", lines=6, elem_id="output")
|
| 470 |
+
with gr.Group(elem_id="accordion"):
|
| 471 |
with gr.Row():
|
| 472 |
tts_btn = gr.Button("π Read Aloud", elem_id="tts-btn")
|
| 473 |
tts_audio = gr.Audio(label="Audio", autoplay=False,elem_classes="gr-audio")
|
| 474 |
done_btn = gr.Button("β
Done", visible=False, elem_id="done-btn")
|
| 475 |
|
| 476 |
+
with gr.group(elem_id="accordion"):
|
| 477 |
with gr.Row(elem_classes="gr-file")
|
| 478 |
txt_file = gr.File(label="π Explanations (.txt)")
|
| 479 |
pdf_file = gr.File(label="π Scene PDF")
|