ayymen commited on
Commit
e81430e
·
verified ·
1 Parent(s): af335bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ gradio_ui= gr.Interface(
63
  gr.components.Slider(1, 25, value=4, step=1, label="Number of beams. Higher values might improve translation accuracy at the cost of speed."),
64
  gr.components.Slider(1, 10, value=1.0, step=0.1, label="Repetition penalty."),
65
  ],
66
- outputs=gr.components.Textbox(label="Translated text")
67
  )
68
 
69
  gradio_ui.launch()
 
63
  gr.components.Slider(1, 25, value=4, step=1, label="Number of beams. Higher values might improve translation accuracy at the cost of speed."),
64
  gr.components.Slider(1, 10, value=1.0, step=0.1, label="Repetition penalty."),
65
  ],
66
+ outputs=gr.components.Textbox(label="Translated text", lines=4)
67
  )
68
 
69
  gradio_ui.launch()