Spaces:
Runtime error
Runtime error
a.pourmand
commited on
Commit
•
8c29c3b
1
Parent(s):
f5a7828
bigger textbox
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
124 |
input_audio_mic.change(lambda x: x, input_audio_mic, final_audio)
|
125 |
input_audio_file.change(lambda x: x, input_audio_file, final_audio)
|
126 |
submit = gr.Button("Submit")
|
127 |
-
text_output = gr.Textbox(label="Transcribed Text", value="", interactive=False)
|
128 |
|
129 |
submit.click(fn=predict, inputs=[target_language,number_of_speakers, audio_source,input_audio_mic, input_audio_file], outputs=[text_output],api_name="predict")
|
130 |
|
|
|
124 |
input_audio_mic.change(lambda x: x, input_audio_mic, final_audio)
|
125 |
input_audio_file.change(lambda x: x, input_audio_file, final_audio)
|
126 |
submit = gr.Button("Submit")
|
127 |
+
text_output = gr.Textbox(label="Transcribed Text", value="", interactive=False,lines=2,scale=3,max_lines=2)
|
128 |
|
129 |
submit.click(fn=predict, inputs=[target_language,number_of_speakers, audio_source,input_audio_mic, input_audio_file], outputs=[text_output],api_name="predict")
|
130 |
|