Pendrokar commited on
Commit
b8a1b21
β€’
1 Parent(s): a9d71f0

no raise for server log

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: