Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -195,7 +195,12 @@ with gr.Blocks(theme=gr.themes.Default(), css=css) as demo:
|
|
| 195 |
],
|
| 196 |
inputs=[
|
| 197 |
tgt_lang,
|
| 198 |
-
text_input
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
],
|
| 200 |
outputs=text_output,
|
| 201 |
fn=generate_for_examples,
|
|
|
|
| 195 |
],
|
| 196 |
inputs=[
|
| 197 |
tgt_lang,
|
| 198 |
+
text_input,
|
| 199 |
+
gr.Number(value=4096, visible=False),
|
| 200 |
+
gr.Number(value=0, visible=False),
|
| 201 |
+
gr.Number(value=0.9, visible=False),
|
| 202 |
+
gr.Number(value=50, visible=False),
|
| 203 |
+
gr.Number(value=0.0, visible=False)
|
| 204 |
],
|
| 205 |
outputs=text_output,
|
| 206 |
fn=generate_for_examples,
|