Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -138,8 +138,8 @@ def reset_flag():
|
|
| 138 |
with gr.Blocks() as demo:
|
| 139 |
gr.Markdown("""<h1><center>TROUBLESHOOTING Bot by CIONIC</center></h1>""")
|
| 140 |
gr.Markdown("""<p><center>To start a new case, press clear.</center></p>""")
|
| 141 |
-
chatbot = gr.Chatbot(
|
| 142 |
-
textbox = gr.Textbox(
|
| 143 |
clear_button = gr.ClearButton(components=[chatbot])
|
| 144 |
clear_button.click(reset_flag, None, None)
|
| 145 |
|
|
|
|
| 138 |
with gr.Blocks() as demo:
|
| 139 |
gr.Markdown("""<h1><center>TROUBLESHOOTING Bot by CIONIC</center></h1>""")
|
| 140 |
gr.Markdown("""<p><center>To start a new case, press clear.</center></p>""")
|
| 141 |
+
chatbot = gr.Chatbot()
|
| 142 |
+
textbox = gr.Textbox()
|
| 143 |
clear_button = gr.ClearButton(components=[chatbot])
|
| 144 |
clear_button.click(reset_flag, None, None)
|
| 145 |
|