greendra commited on
Commit
8300be0
·
verified ·
1 Parent(s): 01f1bd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ def query(prompt, negative_prompt="", steps=4, cfg_scale=0, seed=-1, width=1024,
150
  print(f" Prompt: '{original_prompt}'\n") # Add newline
151
  return None, "<p style='color: red; text-align: center;'>Configuration Error: API Token missing.</p>"
152
 
153
- response = requests.post(API_URL, headers=headers, json=payload, timeout=timeout, provider="fal-ai")
154
  response.raise_for_status()
155
 
156
  image_bytes = response.content
 
150
  print(f" Prompt: '{original_prompt}'\n") # Add newline
151
  return None, "<p style='color: red; text-align: center;'>Configuration Error: API Token missing.</p>"
152
 
153
+ response = requests.post(API_URL, headers=headers, json=payload, timeout=timeout)
154
  response.raise_for_status()
155
 
156
  image_bytes = response.content