Spaces:
Starting
on
Zero
Starting
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def enhance_prompt(input_prompt):
|
|
80 |
enhanced_text = result[0]['summary_text']
|
81 |
return enhanced_text
|
82 |
|
83 |
-
@spaces.GPU
|
84 |
def process_workflow(image, text_prompt, use_enhancer, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
85 |
if image is not None:
|
86 |
if not isinstance(image, Image.Image):
|
|
|
80 |
enhanced_text = result[0]['summary_text']
|
81 |
return enhanced_text
|
82 |
|
83 |
+
@spaces.GPU
|
84 |
def process_workflow(image, text_prompt, use_enhancer, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, progress=gr.Progress(track_tqdm=True)):
|
85 |
if image is not None:
|
86 |
if not isinstance(image, Image.Image):
|