Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
no raise for server log
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def predict(input, pacing):
|
|
94 |
'useCleanup': use_cleanup,
|
95 |
}
|
96 |
response = requests.post('http://0.0.0.0:8008/synthesize', json=data)
|
97 |
-
response.raise_for_status() # If the response contains an HTTP error status code, raise an exception
|
98 |
|
99 |
print('server.log contents:')
|
100 |
with open('server.log', 'r') as f:
|
|
|
94 |
'useCleanup': use_cleanup,
|
95 |
}
|
96 |
response = requests.post('http://0.0.0.0:8008/synthesize', json=data)
|
97 |
+
# response.raise_for_status() # If the response contains an HTTP error status code, raise an exception
|
98 |
|
99 |
print('server.log contents:')
|
100 |
with open('server.log', 'r') as f:
|