Spaces:
Sleeping
Sleeping
paavansundar
commited on
Commit
•
7871f27
1
Parent(s):
20acc65
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,6 @@ with gr.Blocks() as demo:
|
|
8 |
txt_input = gr.Textbox(label="Input Question", lines=2)
|
9 |
txt_output = gr.Textbox(value="", label="Answer")
|
10 |
btn = gr.Button(value="Submit")
|
11 |
-
btn.click(queryGPT,
|
12 |
if __name__ == "__main__":
|
13 |
demo.launch()
|
|
|
8 |
txt_input = gr.Textbox(label="Input Question", lines=2)
|
9 |
txt_output = gr.Textbox(value="", label="Answer")
|
10 |
btn = gr.Button(value="Submit")
|
11 |
+
btn.click(queryGPT, inputs=[txt_input], outputs=[txt_output])
|
12 |
if __name__ == "__main__":
|
13 |
demo.launch()
|