Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -124,8 +124,10 @@ with gr.Blocks(theme='SebastianBravo/simci_css') as demo:
|
|
| 124 |
|
| 125 |
msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(agent, chatbot, chatbot)
|
| 126 |
clear.click(lambda: None, None, chatbot, queue=False)
|
| 127 |
-
print(webbrowser.get())
|
| 128 |
|
|
|
|
|
|
|
|
|
|
| 129 |
# handling dark_theme
|
| 130 |
|
| 131 |
|
|
@@ -137,5 +139,5 @@ with gr.Blocks(theme='SebastianBravo/simci_css') as demo:
|
|
| 137 |
# gradioURL = 'http://localhost:7860/'
|
| 138 |
# apply_dark_theme(gradioURL)
|
| 139 |
|
| 140 |
-
if __name__ == "__main__":
|
| 141 |
-
|
|
|
|
| 124 |
|
| 125 |
msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(agent, chatbot, chatbot)
|
| 126 |
clear.click(lambda: None, None, chatbot, queue=False)
|
|
|
|
| 127 |
|
| 128 |
+
|
| 129 |
+
demo.launch()
|
| 130 |
+
print(webbrowser.get())
|
| 131 |
# handling dark_theme
|
| 132 |
|
| 133 |
|
|
|
|
| 139 |
# gradioURL = 'http://localhost:7860/'
|
| 140 |
# apply_dark_theme(gradioURL)
|
| 141 |
|
| 142 |
+
# if __name__ == "__main__":
|
| 143 |
+
# demo.launch()
|