Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -391,7 +391,7 @@ def uploadNote(prompt,num_inference_steps,guidance_scale,timestamp):
|
|
391 |
|
392 |
pyx = cyper.inline(code, fast_indexing=True, directives=dict(boundscheck=False, wraparound=False, language_level=3))
|
393 |
|
394 |
-
@spaces.GPU(duration=
|
395 |
def generate_30(
|
396 |
prompt: str,
|
397 |
negative_prompt: str = "",
|
@@ -440,7 +440,7 @@ def generate_30(
|
|
440 |
os.symlink(sd_image_path, unique_name)
|
441 |
return [unique_name]
|
442 |
|
443 |
-
@spaces.GPU(duration=
|
444 |
def generate_60(
|
445 |
prompt: str,
|
446 |
negative_prompt: str = "",
|
@@ -484,7 +484,7 @@ def generate_60(
|
|
484 |
os.symlink(sd_image_path, unique_name)
|
485 |
return [unique_name]
|
486 |
|
487 |
-
@spaces.GPU(duration=
|
488 |
def generate_90(
|
489 |
prompt: str,
|
490 |
negative_prompt: str = "",
|
@@ -620,7 +620,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
620 |
minimum=10,
|
621 |
maximum=1000,
|
622 |
step=10,
|
623 |
-
value=
|
624 |
)
|
625 |
|
626 |
gr.Examples(
|
|
|
391 |
|
392 |
pyx = cyper.inline(code, fast_indexing=True, directives=dict(boundscheck=False, wraparound=False, language_level=3))
|
393 |
|
394 |
+
@spaces.GPU(duration=40)
|
395 |
def generate_30(
|
396 |
prompt: str,
|
397 |
negative_prompt: str = "",
|
|
|
440 |
os.symlink(sd_image_path, unique_name)
|
441 |
return [unique_name]
|
442 |
|
443 |
+
@spaces.GPU(duration=70)
|
444 |
def generate_60(
|
445 |
prompt: str,
|
446 |
negative_prompt: str = "",
|
|
|
484 |
os.symlink(sd_image_path, unique_name)
|
485 |
return [unique_name]
|
486 |
|
487 |
+
@spaces.GPU(duration=100)
|
488 |
def generate_90(
|
489 |
prompt: str,
|
490 |
negative_prompt: str = "",
|
|
|
620 |
minimum=10,
|
621 |
maximum=1000,
|
622 |
step=10,
|
623 |
+
value=180,
|
624 |
)
|
625 |
|
626 |
gr.Examples(
|