Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -177,7 +177,7 @@ def bot(history):
|
|
| 177 |
css="footer {visibility: hidden}"
|
| 178 |
# Applying style to highlight the maximum value in each row
|
| 179 |
#styler = df.style.highlight_max(color = 'lightgreen', axis = 0)
|
| 180 |
-
with gr.Blocks(
|
| 181 |
with gr.Row():
|
| 182 |
with gr.Column():
|
| 183 |
chatbot = gr.Chatbot(
|
|
@@ -270,5 +270,5 @@ scheduler2.start()
|
|
| 270 |
scheduler3 = BackgroundScheduler()
|
| 271 |
scheduler3.add_job(func=backup_db_csv, trigger="interval", seconds=3666)
|
| 272 |
scheduler3.start()
|
| 273 |
-
|
| 274 |
demo.launch()
|
|
|
|
| 177 |
css="footer {visibility: hidden}"
|
| 178 |
# Applying style to highlight the maximum value in each row
|
| 179 |
#styler = df.style.highlight_max(color = 'lightgreen', axis = 0)
|
| 180 |
+
with gr.Blocks() as demo:
|
| 181 |
with gr.Row():
|
| 182 |
with gr.Column():
|
| 183 |
chatbot = gr.Chatbot(
|
|
|
|
| 270 |
scheduler3 = BackgroundScheduler()
|
| 271 |
scheduler3.add_job(func=backup_db_csv, trigger="interval", seconds=3666)
|
| 272 |
scheduler3.start()
|
| 273 |
+
demo.queue()
|
| 274 |
demo.launch()
|