gokaygokay commited on
Commit
8840a6c
1 Parent(s): 2a73b12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def enhance_prompt(input_prompt):
73
  enhanced_text = result[0]['summary_text']
74
  return enhanced_text
75
 
76
- @spaces.GPU(duration=60)
77
  def process_workflow(image, text_prompt, use_enhancer, use_llm_generator, llm_provider, llm_model, prompt_type, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, negative_prompt="", progress=gr.Progress(track_tqdm=True)):
78
  if image is not None:
79
  # Convert image to PIL if it's not already
 
73
  enhanced_text = result[0]['summary_text']
74
  return enhanced_text
75
 
76
+ @spaces.GPU(duration=75)
77
  def process_workflow(image, text_prompt, use_enhancer, use_llm_generator, llm_provider, llm_model, prompt_type, seed, randomize_seed, width, height, guidance_scale, num_inference_steps, negative_prompt="", progress=gr.Progress(track_tqdm=True)):
78
  if image is not None:
79
  # Convert image to PIL if it's not already