Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -259,7 +259,7 @@ def uploadNote(prompt,num_inference_steps,guidance_scale,timestamp):
|
|
259 |
f.write(f"added torch to prereq and changed accellerate \n")
|
260 |
upload_to_ftp(filename)
|
261 |
|
262 |
-
@spaces.GPU(duration=
|
263 |
def generate_30(
|
264 |
model_choice: str,
|
265 |
prompt: str,
|
@@ -566,7 +566,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
566 |
minimum=10,
|
567 |
maximum=1000,
|
568 |
step=10,
|
569 |
-
value=
|
570 |
)
|
571 |
|
572 |
gr.Examples(
|
|
|
259 |
f.write(f"added torch to prereq and changed accellerate \n")
|
260 |
upload_to_ftp(filename)
|
261 |
|
262 |
+
@spaces.GPU(duration=40)
|
263 |
def generate_30(
|
264 |
model_choice: str,
|
265 |
prompt: str,
|
|
|
566 |
minimum=10,
|
567 |
maximum=1000,
|
568 |
step=10,
|
569 |
+
value=180,
|
570 |
)
|
571 |
|
572 |
gr.Examples(
|