Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
missed spaceind
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def run_xvaserver():
|
|
| 29 |
try:
|
| 30 |
response = requests.get('http://0.0.0.0:8008')
|
| 31 |
response.raise_for_status() # If the response contains an HTTP error status code, raise an exception
|
| 32 |
-
|
| 33 |
print('Failed to connect!')
|
| 34 |
return
|
| 35 |
|
|
|
|
| 29 |
try:
|
| 30 |
response = requests.get('http://0.0.0.0:8008')
|
| 31 |
response.raise_for_status() # If the response contains an HTTP error status code, raise an exception
|
| 32 |
+
except requests.exceptions.RequestException as err:
|
| 33 |
print('Failed to connect!')
|
| 34 |
return
|
| 35 |
|