Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,5 +35,5 @@ async def ask_question(request):
|
|
| 35 |
except Exception as e:
|
| 36 |
return json({"error": str(e)}, status=500)
|
| 37 |
|
| 38 |
-
if
|
| 39 |
app.run(host="0.0.0.0", port=7860, fast=True, access_log=False)
|
|
|
|
| 35 |
except Exception as e:
|
| 36 |
return json({"error": str(e)}, status=500)
|
| 37 |
|
| 38 |
+
if __name__ == "__main__":
|
| 39 |
app.run(host="0.0.0.0", port=7860, fast=True, access_log=False)
|