Update app.py
Browse files
app.py
CHANGED
@@ -560,7 +560,7 @@ if __name__ == '__main__':
|
|
560 |
loop = asyncio.new_event_loop()
|
561 |
asyncio.set_event_loop(loop)
|
562 |
rp = loop.run_until_complete(downdb())
|
563 |
-
|
564 |
with app.app_context():
|
565 |
db.create_all()
|
566 |
app.run(debug=True, use_reloader=False, host="0.0.0.0", port=7860)
|
|
|
560 |
loop = asyncio.new_event_loop()
|
561 |
asyncio.set_event_loop(loop)
|
562 |
rp = loop.run_until_complete(downdb())
|
563 |
+
# loop.close()
|
564 |
with app.app_context():
|
565 |
db.create_all()
|
566 |
app.run(debug=True, use_reloader=False, host="0.0.0.0", port=7860)
|