Spaces:
Runtime error
Runtime error
Update demo.py
Browse files
demo.py
CHANGED
@@ -49,7 +49,7 @@ with gr.Blocks(css=css) as app:
|
|
49 |
elem_id="output-text",
|
50 |
)
|
51 |
submit_button.click(
|
52 |
-
run_test_power, inputs=[model_name,
|
53 |
)
|
54 |
clear_button.click(lambda: ("", ""), inputs=[], outputs=[input_text, output])
|
55 |
|
|
|
49 |
elem_id="output-text",
|
50 |
)
|
51 |
submit_button.click(
|
52 |
+
run_test_power, inputs=[model_name, input_text, input_text], outputs=output
|
53 |
)
|
54 |
clear_button.click(lambda: ("", ""), inputs=[], outputs=[input_text, output])
|
55 |
|