raphael-lesmana commited on
Commit
31a62f9
Β·
verified Β·
1 Parent(s): 0964784

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"