Update app.py
Browse files
app.py
CHANGED
@@ -53,11 +53,11 @@ with gr.Blocks() as LLMDemoTabbedScreen:
|
|
53 |
test_button = gr.Button("Try it")
|
54 |
|
55 |
|
56 |
-
test_button.click(
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
)
|
61 |
|
62 |
if __name__ == "__main__":
|
63 |
LLMDemoTabbedScreen.launch()
|
|
|
53 |
test_button = gr.Button("Try it")
|
54 |
|
55 |
|
56 |
+
test_button.click(
|
57 |
+
fn=test_handler,
|
58 |
+
inputs=[llm_api_options, test_string],
|
59 |
+
outputs=[test_string_output_info, test_string_response]
|
60 |
+
)
|
61 |
|
62 |
if __name__ == "__main__":
|
63 |
LLMDemoTabbedScreen.launch()
|