gokaygokay commited on
Commit
8a7a560
·
verified ·
1 Parent(s): c927862

Update app.py

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