atsuga commited on
Commit
0bf203d
·
verified ·
1 Parent(s): 8f1c7d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -111,6 +111,5 @@ def auto_predict():
111
  except Exception as e:
112
  return jsonify({'error': str(e)}), 400
113
 
114
- if __name__ == '__main__':
115
- app = FastAPI()
116
- app.mount("/flask", WSGIMiddleware(flask_app))
 
111
  except Exception as e:
112
  return jsonify({'error': str(e)}), 400
113
 
114
+ app = FastAPI()
115
+ app.mount("/flask", WSGIMiddleware(flask_app))