ford442 commited on
Commit
f4a1397
·
verified ·
1 Parent(s): 074432c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -106,7 +106,7 @@ def filter_text(text,phraseC):
106
  MAX_SEED = np.iinfo(np.int32).max
107
  MAX_IMAGE_SIZE = 4096
108
 
109
- @spaces.GPU(duration=90)
110
  def infer(
111
  prompt,
112
  negative_prompt,
@@ -287,7 +287,7 @@ with gr.Blocks(css=css) as demo:
287
  minimum=1,
288
  maximum=500,
289
  step=1,
290
- value=175, # Replace with defaults that work for your model
291
  )
292
  save_button = gr.Button("Save Image")
293
  image_path_output = gr.Text(visible=False) # Hidden component to store the path
 
106
  MAX_SEED = np.iinfo(np.int32).max
107
  MAX_IMAGE_SIZE = 4096
108
 
109
+ @spaces.GPU(duration=80)
110
  def infer(
111
  prompt,
112
  negative_prompt,
 
287
  minimum=1,
288
  maximum=500,
289
  step=1,
290
+ value=150, # Replace with defaults that work for your model
291
  )
292
  save_button = gr.Button("Save Image")
293
  image_path_output = gr.Text(visible=False) # Hidden component to store the path