Spaces:
Runtime error
Runtime error
Commit ·
e4df486
1
Parent(s): 233971c
Add application file
Browse files64 unmodified lines65666768697071727374757677787964 unmodified linestranslate_btn = gr.components.Button(value="Translate",variant='primary')with gr.Column():preset_results = gr.components.Textbox(label='Response..')custrom_results = gr.components.Textbox(label='Response..')if dropdown:translate_btn.click(generate_response,inputs = [dropdown],outputs=[preset_results])if open_text:translate_btn.click(generate_response,inputs = [open_text],outputs=[custrom_results])# live=True64 unmodified lines656667686970717273747576777879808164 unmodified linestranslate_btn = gr.components.Button(value="Translate",variant='primary')if dropdown:preset_results = gr.components.Textbox(label='Response..')translate_btn.click(generate_response,inputs = [dropdown],outputs=[preset_results])with gr.Column():if open_text:custrom_results = gr.components.Textbox(label='Response..')translate_btn.click(generate_response,inputs = [open_text],outputs=[custrom_results])# live=True
app.py+8-6