Jordan Myers commited on
Commit
5d5e348
1 Parent(s): 2e7cfe8
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -131,7 +131,9 @@ with gr.Blocks() as app:
131
  gr.Slider(label="Number of return sequences", value=3, minimum=1, maximum=12, step=1)
132
  ]
133
 
 
 
134
  translate_btn = gr.Button("Translate! | o ante toki!")
135
- translate_btn.click(translate, inputs=inputs, outputs=["text"])
136
 
137
  app.launch()
 
131
  gr.Slider(label="Number of return sequences", value=3, minimum=1, maximum=12, step=1)
132
  ]
133
 
134
+ outputs = gr.Textbox()
135
+
136
  translate_btn = gr.Button("Translate! | o ante toki!")
137
+ translate_btn.click(translate, inputs=inputs, outputs=outputs)
138
 
139
  app.launch()