Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,6 @@ def run_lora(prompt, selected_state, progress=gr.Progress(track_tqdm=True)):
|
|
41 |
#token = os.getenv("API_TOKEN")
|
42 |
payload = {
|
43 |
"inputs": f"{prompt} {trigger_word}",
|
44 |
-
"parameters":{"num_inference_steps": 30, "guidance_scale":7.0, "scheduler":"EulerDiscreteScheduler"},
|
45 |
}
|
46 |
#headers = {"Authorization": f"Bearer {token}"}
|
47 |
|
|
|
41 |
#token = os.getenv("API_TOKEN")
|
42 |
payload = {
|
43 |
"inputs": f"{prompt} {trigger_word}",
|
|
|
44 |
}
|
45 |
#headers = {"Authorization": f"Bearer {token}"}
|
46 |
|