johnpaulbin commited on
Commit
90f32f8
·
1 Parent(s): 17f4a35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -369,6 +369,5 @@ def download_model():
369
  return jsonify(result)
370
 
371
  # More endpoints for other methods
372
-
373
- if __name__ == '__main__':
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)