Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,7 +107,7 @@ else:
|
|
| 107 |
|
| 108 |
print("Initialization complete. Gradio is starting...")
|
| 109 |
|
| 110 |
-
@spaces.GPU(duration =
|
| 111 |
def generate(prompt, negative_prompt, width, height, num_inference_steps, optional_lora_id, progress=gr.Progress(track_tqdm=True)):
|
| 112 |
|
| 113 |
# --- Step 1: ALWAYS build the full weight vector from scratch for THIS run ---
|
|
|
|
| 107 |
|
| 108 |
print("Initialization complete. Gradio is starting...")
|
| 109 |
|
| 110 |
+
@spaces.GPU(duration = 45)
|
| 111 |
def generate(prompt, negative_prompt, width, height, num_inference_steps, optional_lora_id, progress=gr.Progress(track_tqdm=True)):
|
| 112 |
|
| 113 |
# --- Step 1: ALWAYS build the full weight vector from scratch for THIS run ---
|