Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def generate_response(prompt):
|
|
| 49 |
|
| 50 |
demo = gr.Interface(
|
| 51 |
fn=generate_response,
|
| 52 |
-
inputs=gr.Textbox(label="Latin Input"),
|
| 53 |
outputs=gr.Textbox(label="English Output"),
|
| 54 |
submit_btn="Translate",
|
| 55 |
flagging_mode="never"
|
|
|
|
| 49 |
|
| 50 |
demo = gr.Interface(
|
| 51 |
fn=generate_response,
|
| 52 |
+
inputs=gr.Textbox(label="Latin Input", max_length=400),
|
| 53 |
outputs=gr.Textbox(label="English Output"),
|
| 54 |
submit_btn="Translate",
|
| 55 |
flagging_mode="never"
|