Kenqt commited on
Commit
0209ec8
Β·
verified Β·
1 Parent(s): ea2c6ef

Update captcha_api.py

Browse files
Files changed (1) hide show
  1. captcha_api.py +3 -1
captcha_api.py CHANGED
@@ -80,7 +80,9 @@ def solve():
80
  return jsonify({'status': 0, 'error': str(e)}), 500
81
 
82
  if __name__ == '__main__':
83
- port = int(os.environ.get('PORT', 10000))
 
 
84
  print("="*60)
85
  print(f"πŸš€ CAPTCHA Solver API")
86
  print(f"🌐 Port: {port}")
 
80
  return jsonify({'status': 0, 'error': str(e)}), 500
81
 
82
  if __name__ == '__main__':
83
+ # Hugging Face Spaces α€€ PORT env variable α€€α€­α€― α€žα€α€Ία€™α€Ύα€α€Ία€•α€±α€Έα€•α€«α€œα€­α€™α€Ία€·α€™α€šα€Ία‹
84
+ # α€™α€žα€α€Ία€™α€Ύα€α€Ία€‘α€¬α€Έα€›α€„α€Ί 7860 α€€α€­α€― default α€žα€―α€Άα€Έα€•α€«α€™α€šα€Ία‹
85
+ port = int(os.environ.get('PORT', 7860))
86
  print("="*60)
87
  print(f"πŸš€ CAPTCHA Solver API")
88
  print(f"🌐 Port: {port}")