Spaces:
Build error
Build error
Commit
·
90f32f8
1
Parent(s):
17f4a35
Update app.py
Browse files
app.py
CHANGED
@@ -369,6 +369,5 @@ def download_model():
|
|
369 |
return jsonify(result)
|
370 |
|
371 |
# More endpoints for other methods
|
372 |
-
|
373 |
-
|
374 |
-
app.run(host='0.0.0.0', port=7860)
|
|
|
369 |
return jsonify(result)
|
370 |
|
371 |
# More endpoints for other methods
|
372 |
+
if __name__ == "__main__":
|
373 |
+
hypercorn.run(app, host='0.0.0.0', port=7860)
|
|