prithivMLmods commited on
Commit
0000d2f
·
verified ·
1 Parent(s): bf4a8a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(duration=190)
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):