wolfofbackstreet commited on
Commit
3fe1cbc
·
verified ·
1 Parent(s): 7f222d2

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -1
Dockerfile CHANGED
@@ -26,7 +26,7 @@ RUN python -c "from optimum.intel.openvino import OVStableDiffusionPipeline; \
26
  OVStableDiffusionPipeline.from_pretrained('rupeshs/hyper-sd-sdxl-1-step-openvino-int8', ov_config={'CACHE_DIR': ''})"
27
 
28
  # Expose port 5000
29
- EXPOSE 5000
30
 
31
  # Command to run the Flask app
32
  CMD ["python", "app.py"]
 
26
  OVStableDiffusionPipeline.from_pretrained('rupeshs/hyper-sd-sdxl-1-step-openvino-int8', ov_config={'CACHE_DIR': ''})"
27
 
28
  # Expose port 5000
29
+ EXPOSE 7860
30
 
31
  # Command to run the Flask app
32
  CMD ["python", "app.py"]
app.py CHANGED
@@ -53,4 +53,4 @@ def generate_image():
53
  return jsonify({'error': str(e)}), 500
54
 
55
  if __name__ == '__main__':
56
- app.run(host='0.0.0.0', port=5000)
 
53
  return jsonify({'error': str(e)}), 500
54
 
55
  if __name__ == '__main__':
56
+ app.run(host='0.0.0.0', port=7860)