Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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
|