From 2ff4d71fdd7c02ec02d49e4de0262a7e059d43c8 Mon Sep 17 00:00:00 2001 From: csunny Date: Sat, 29 Apr 2023 00:36:36 +0800 Subject: [PATCH] fix --- pilot/server/sqlgpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pilot/server/sqlgpt.py b/pilot/server/sqlgpt.py index a74e99ad3..edd2baf84 100644 --- a/pilot/server/sqlgpt.py +++ b/pilot/server/sqlgpt.py @@ -45,7 +45,7 @@ if __name__ == "__main__": text_button = gr.Button("提交") - text_button.click(generate, input=text_input, output=text_output) + text_button.click(generate, inputs=text_input, outputs=text_output) demo.queue(concurrency_count=3).launch()