Amarthya7 commited on
Commit
497daff
·
verified ·
1 Parent(s): d9829a0

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -63,7 +63,7 @@ def main():
63
  sys.exit(1)
64
 
65
  # Print startup information
66
- port = int(os.environ.get("PORT", 8501)) # Streamlit default port is 8501
67
  print(f"Starting VQA application on http://localhost:{port}")
68
  print(f"Using VQA model: {os.environ.get('VQA_MODEL', 'blip')}")
69
  print("Press Ctrl+C to exit")
 
63
  sys.exit(1)
64
 
65
  # Print startup information
66
+ port = int(os.environ.get("PORT", 7860)) # Set default port to 7860 for Hugging Face
67
  print(f"Starting VQA application on http://localhost:{port}")
68
  print(f"Using VQA model: {os.environ.get('VQA_MODEL', 'blip')}")
69
  print("Press Ctrl+C to exit")