asmaab commited on
Commit
73efcdd
·
verified ·
1 Parent(s): e1c84f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ def generate_image_from_prompt(prompt: str, negative_prompt: str = "", height: i
130
  }
131
 
132
  # Make the API call
133
- response = requests.post(API_URL, headers=headers, json=payload)
134
 
135
  if response.status_code != 200:
136
  return f"Error generating image: {response.text}"
 
130
  }
131
 
132
  # Make the API call
133
+ response = requests.post(API_URL, json=payload)
134
 
135
  if response.status_code != 200:
136
  return f"Error generating image: {response.text}"