Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ with gr.Blocks() as demo:
|
|
| 72 |
idx=0
|
| 73 |
text_output = image_to_text_model(inputsImg)[0]
|
| 74 |
print(text_output)
|
| 75 |
-
for txt in
|
| 76 |
output_txt[idx] = gr.Textbox(label=text_output,lines=1,max_lines=1,value=text_output,placeholder="Interpretation")
|
| 77 |
input_sid = gr.Textbox(
|
| 78 |
label="Speaker ID",
|
|
|
|
| 72 |
idx=0
|
| 73 |
text_output = image_to_text_model(inputsImg)[0]
|
| 74 |
print(text_output)
|
| 75 |
+
for txt in text_output:
|
| 76 |
output_txt[idx] = gr.Textbox(label=text_output,lines=1,max_lines=1,value=text_output,placeholder="Interpretation")
|
| 77 |
input_sid = gr.Textbox(
|
| 78 |
label="Speaker ID",
|