reidddd commited on
Commit
d86c7bd
·
1 Parent(s): b9fb924

update import detectron2

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. __pycache__/app.cpython-312.pyc +0 -0
  3. app.py +1 -1
Dockerfile CHANGED
@@ -72,4 +72,4 @@ WORKDIR $HOME/app
72
 
73
  # Expose application port and set default command
74
  RUN ls -a
75
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
72
 
73
  # Expose application port and set default command
74
  RUN ls -a
75
+ CMD ["python", "app.py"]
__pycache__/app.cpython-312.pyc ADDED
Binary file (4.78 kB). View file
 
app.py CHANGED
@@ -106,4 +106,4 @@ def upload():
106
  return jsonify(response)
107
 
108
  if __name__ == '__main__':
109
- app.run(debug=True)
 
106
  return jsonify(response)
107
 
108
  if __name__ == '__main__':
109
+ app.run(host='0.0.0.0', port=7860)