Pendrokar commited on
Commit
beb87c6
β€’
1 Parent(s): 044fea4

comment out response data

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -204,7 +204,7 @@ def predict(
204
  try:
205
  response = requests.post('http://0.0.0.0:8008/synthesize', json=data, timeout=60)
206
  response.raise_for_status() # If the response contains an HTTP error status code, raise an exception
207
- response_data = json.loads(response.text)
208
  except requests.exceptions.RequestException as err:
209
  print('Failed to synthesize!')
210
  print('server.log contents:')
 
204
  try:
205
  response = requests.post('http://0.0.0.0:8008/synthesize', json=data, timeout=60)
206
  response.raise_for_status() # If the response contains an HTTP error status code, raise an exception
207
+ # response_data = json.loads(response.text)
208
  except requests.exceptions.RequestException as err:
209
  print('Failed to synthesize!')
210
  print('server.log contents:')