Spaces:
Running
Running
Update app/webui/app.py
Browse files- 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])
|