vilarin commited on
Commit
366c3b0
·
verified ·
1 Parent(s): 0ff9af4

Update app/webui/app.py

Browse files
Files changed (1) hide show
  1. app/webui/app.py +1 -1
app/webui/app.py CHANGED
@@ -282,7 +282,7 @@ with gr.Blocks(theme="soft", css=CSS, fill_height=True) as demo:
282
  choice.select(fn=enable_sec, inputs=[choice], outputs=[endpoint2, model2, api_key2])
283
  endpoint2.change(fn=update_model, inputs=[endpoint2], outputs=[model2])
284
 
285
- submit.click(fn=huanik, inputs=[endpoint, model, api_key, choice, endpoint2, model2, api_key2, source_lang, target_lang, source_text, country, max_tokens, context_window, num_output, rpm], outputs=[output_init, output_reflect, output_final, output_diff])
286
 
287
  upload.upload(fn=read_doc, inputs = upload, outputs = source_text)
288
  output_final.change(fn=export_txt, inputs=output_final, outputs=[export])
 
282
  choice.select(fn=enable_sec, inputs=[choice], outputs=[endpoint2, model2, api_key2])
283
  endpoint2.change(fn=update_model, inputs=[endpoint2], outputs=[model2])
284
 
285
+ start_ta = submit.click(fn=huanik, inputs=[endpoint, model, api_key, choice, endpoint2, model2, api_key2, source_lang, target_lang, source_text, country, max_tokens, context_window, num_output, rpm], outputs=[output_init, output_reflect, output_final, output_diff])
286
 
287
  upload.upload(fn=read_doc, inputs = upload, outputs = source_text)
288
  output_final.change(fn=export_txt, inputs=output_final, outputs=[export])