zenafey commited on
Commit
d141929
1 Parent(s): 266f13d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,6 @@ class Prodia:
51
  return response.json()
52
 
53
  def _post(self, url, params):
54
- print(params)
55
  headers = {
56
  **self.headers,
57
  "Content-Type": "application/json"
@@ -59,6 +58,7 @@ class Prodia:
59
  response = requests.post(url, headers=headers, data=json.dumps(params))
60
 
61
  if response.status_code != 200:
 
62
  raise Exception(f"Bad Prodia Response: {response.status_code}")
63
 
64
  return response
 
51
  return response.json()
52
 
53
  def _post(self, url, params):
 
54
  headers = {
55
  **self.headers,
56
  "Content-Type": "application/json"
 
58
  response = requests.post(url, headers=headers, data=json.dumps(params))
59
 
60
  if response.status_code != 200:
61
+ print(params)
62
  raise Exception(f"Bad Prodia Response: {response.status_code}")
63
 
64
  return response