Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -266,7 +266,7 @@ def _run_live_analysis(space_id: str, progress=gr.Progress(track_tqdm=True)):
|
|
266 |
if status == 'scaledToZero':
|
267 |
logging.info(f"Endpoint '{ENDPOINT_NAME}' is scaled to zero. Attempting to resume...")
|
268 |
endpoint.resume()
|
269 |
-
msg_503 = f"**Full Service Temporarily Unavailable**: but you can **browse existing reports** or **check back later!**\n\n The status of the Qwen2.5-Coder-32B-Instruct endpoint powering the analysis is currently: '{status}
|
270 |
yield (
|
271 |
gr.update(value=msg_503, visible=True),
|
272 |
gr.update(value="", visible=False),
|
|
|
266 |
if status == 'scaledToZero':
|
267 |
logging.info(f"Endpoint '{ENDPOINT_NAME}' is scaled to zero. Attempting to resume...")
|
268 |
endpoint.resume()
|
269 |
+
msg_503 = f"**Full Service Temporarily Unavailable**: but you can **browse existing reports** or **check back later!**\n\n The status of the Qwen2.5-Coder-32B-Instruct endpoint powering the analysis is currently: <span style='color:red'>**{status}**</span>\n\n" + ERROR_503_USER_MESSAGE
|
270 |
yield (
|
271 |
gr.update(value=msg_503, visible=True),
|
272 |
gr.update(value="", visible=False),
|