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