Spaces:
Runtime error
Runtime error
karar-shah
commited on
Commit
·
a753c8e
1
Parent(s):
3116662
Update test_gradio.py
Browse files- test_gradio.py +7 -0
test_gradio.py
CHANGED
@@ -18,4 +18,11 @@ def predict(message, history):
|
|
18 |
gpt_response = open_chain.run(message)
|
19 |
return gpt_response
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
gr.ChatInterface(predict).launch(share=False)
|
|
|
18 |
gpt_response = open_chain.run(message)
|
19 |
return gpt_response
|
20 |
|
21 |
+
with gr.Blocks() as demo:
|
22 |
+
gr.Markdown(
|
23 |
+
"""
|
24 |
+
# Let's think step by step!
|
25 |
+
I will break your question into steps :)
|
26 |
+
""")
|
27 |
+
|
28 |
gr.ChatInterface(predict).launch(share=False)
|