Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -303,7 +303,8 @@ state = {}
|
|
| 303 |
interface = gr.Interface(
|
| 304 |
fn=gradio_fn,
|
| 305 |
inputs=[gr.components.Textbox(
|
| 306 |
-
label="Text"
|
|
|
|
| 307 |
gr.components.Audio(
|
| 308 |
label="Speech Translation",
|
| 309 |
source="microphone",
|
|
@@ -320,7 +321,6 @@ interface = gr.Interface(
|
|
| 320 |
outputs=["text", "text", "text", "text"],
|
| 321 |
theme="huggingface",
|
| 322 |
description="Enter text or speak into your microphone to have your text analyzed!",
|
| 323 |
-
|
| 324 |
rounded=True,
|
| 325 |
container=True
|
| 326 |
|
|
|
|
| 303 |
interface = gr.Interface(
|
| 304 |
fn=gradio_fn,
|
| 305 |
inputs=[gr.components.Textbox(
|
| 306 |
+
label="Text",
|
| 307 |
+
lines = 6),
|
| 308 |
gr.components.Audio(
|
| 309 |
label="Speech Translation",
|
| 310 |
source="microphone",
|
|
|
|
| 321 |
outputs=["text", "text", "text", "text"],
|
| 322 |
theme="huggingface",
|
| 323 |
description="Enter text or speak into your microphone to have your text analyzed!",
|
|
|
|
| 324 |
rounded=True,
|
| 325 |
container=True
|
| 326 |
|