Geek7 commited on
Commit
eedc86a
·
verified ·
1 Parent(s): 2b70e04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -28,5 +28,6 @@ def generate_image():
28
  # Send the generated image back to the client
29
  return send_file(img_byte_arr, mimetype='image/jpeg')
30
 
 
31
  if __name__ == "__main__":
32
- app.run(debug=True)
 
28
  # Send the generated image back to the client
29
  return send_file(img_byte_arr, mimetype='image/jpeg')
30
 
31
+
32
  if __name__ == "__main__":
33
+ app.run(host='0.0.0.0', port=7860) # Run directly if needed for testing