ovi054 commited on
Commit
001cbbb
1 Parent(s): 3febe0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def query(lora_id, prompt, is_negative=False, steps=28, cfg_scale=3.5, sampler="
22
 
23
  key = random.randint(0, 999)
24
 
25
- API_URL = "https://api-inference.huggingface.co/models/"+ lora_id
26
 
27
  API_TOKEN = random.choice([os.getenv("HF_READ_TOKEN")])
28
  headers = {"Authorization": f"Bearer {API_TOKEN}"}
 
22
 
23
  key = random.randint(0, 999)
24
 
25
+ API_URL = "https://api-inference.huggingface.co/models/"+ lora_id.strip()
26
 
27
  API_TOKEN = random.choice([os.getenv("HF_READ_TOKEN")])
28
  headers = {"Authorization": f"Bearer {API_TOKEN}"}