Spaces:
Running
Running
Wait to change lang
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ def gradio_app():
|
|
190 |
generator_btn.click(predict, inputs=[text_gl, model_select, max_length, repetition_penalty, temperature], outputs=generated_gl, api_name="generate-flor-gl")
|
191 |
clean_btn.click(fn=clear, inputs=[], outputs=[text_gl, generated_gl, max_length, repetition_penalty, temperature], queue=False, api_name=False)
|
192 |
pass_btn.click(fn=pass_to_input, inputs=[generated_gl], outputs=[text_gl,generated_gl], queue=False, api_name=False)
|
193 |
-
change_lang.click(fn=change_language, inputs=[demo], outputs=[], queue=False, api_name=False
|
194 |
|
195 |
with gr.Row():
|
196 |
with gr.Column(scale=0.5):
|
|
|
190 |
generator_btn.click(predict, inputs=[text_gl, model_select, max_length, repetition_penalty, temperature], outputs=generated_gl, api_name="generate-flor-gl")
|
191 |
clean_btn.click(fn=clear, inputs=[], outputs=[text_gl, generated_gl, max_length, repetition_penalty, temperature], queue=False, api_name=False)
|
192 |
pass_btn.click(fn=pass_to_input, inputs=[generated_gl], outputs=[text_gl,generated_gl], queue=False, api_name=False)
|
193 |
+
change_lang.click(fn=change_language, inputs=[demo], outputs=[], queue=False, api_name=False)
|
194 |
|
195 |
with gr.Row():
|
196 |
with gr.Column(scale=0.5):
|