Spaces:
Paused
Paused
Commit ·
e14bfa7
1
Parent(s): 75740d4
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ with gradio.Blocks(css=css) as app:
|
|
| 103 |
start_btn = gradio.Button("I'm ready!")
|
| 104 |
instructions = gradio.Markdown('', visible=False)
|
| 105 |
user_question = gradio.Textbox(visible=False, label="", placeholder="Write your question here")
|
| 106 |
-
chatbot_btn = gradio.Button("Click to
|
| 107 |
chatbot_reply = gradio.Markdown('', visible=False)
|
| 108 |
code = gradio.Textbox(visible=False, label="Copy the code below and close this window")
|
| 109 |
chatbot_btn.click(fn=query_chatgpt, inputs=[user_question, condition_field], outputs=[chatbot_reply, code, chatbot_btn])
|
|
|
|
| 103 |
start_btn = gradio.Button("I'm ready!")
|
| 104 |
instructions = gradio.Markdown('', visible=False)
|
| 105 |
user_question = gradio.Textbox(visible=False, label="", placeholder="Write your question here")
|
| 106 |
+
chatbot_btn = gradio.Button("Click to Ask", visible=False)
|
| 107 |
chatbot_reply = gradio.Markdown('', visible=False)
|
| 108 |
code = gradio.Textbox(visible=False, label="Copy the code below and close this window")
|
| 109 |
chatbot_btn.click(fn=query_chatgpt, inputs=[user_question, condition_field], outputs=[chatbot_reply, code, chatbot_btn])
|