Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def enhance_prompt(input_prompt):
|
|
58 |
enhanced_text = result[0]['summary_text']
|
59 |
return enhanced_text
|
60 |
|
61 |
-
@spaces.GPU(duration=
|
62 |
def process_workflow(image, text_prompt, use_enhancer, seed, randomize_seed, width, height, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
63 |
if image is not None:
|
64 |
if not isinstance(image, Image.Image):
|
|
|
58 |
enhanced_text = result[0]['summary_text']
|
59 |
return enhanced_text
|
60 |
|
61 |
+
@spaces.GPU(duration=75)
|
62 |
def process_workflow(image, text_prompt, use_enhancer, seed, randomize_seed, width, height, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
63 |
if image is not None:
|
64 |
if not isinstance(image, Image.Image):
|