artificialguybr commited on
Commit
baeab79
1 Parent(s): f19e26a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ def run_lora(prompt, selected_state, progress=gr.Progress(track_tqdm=True)):
37
  #token = os.getenv("API_TOKEN")
38
  payload = {
39
  "inputs": f"{prompt} {trigger_word}",
40
- "negative_prompt": "bad art, ugly, watermark, deformed"
41
- }# Add this line
42
  #headers = {"Authorization": f"Bearer {token}"}
43
 
44
  # Add a print statement to display the API request
 
37
  #token = os.getenv("API_TOKEN")
38
  payload = {
39
  "inputs": f"{prompt} {trigger_word}",
40
+ "parameters":{"negative_prompt": "bad art, ugly, watermark, deformed"},
41
+ }
42
  #headers = {"Authorization": f"Bearer {token}"}
43
 
44
  # Add a print statement to display the API request