Pamudu13 commited on
Commit
84fa013
·
verified ·
1 Parent(s): 6ab6544

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -161,7 +161,7 @@ def api_restart_space():
161
  @app.route('/get_space_status', methods=['GET'])
162
  def get_space_status():
163
  """API route to get the status of a Hugging Face Space."""
164
- space_id = request.args.get('space_id') # Expecting the space_id as a query parameter
165
 
166
  if not space_id:
167
  return jsonify({'error': 'space_id parameter is required'}), 400
 
161
  @app.route('/get_space_status', methods=['GET'])
162
  def get_space_status():
163
  """API route to get the status of a Hugging Face Space."""
164
+ space_id = 'Pamudu13/web-scraper' # Expecting the space_id as a query parameter
165
 
166
  if not space_id:
167
  return jsonify({'error': 'space_id parameter is required'}), 400