ford442 commited on
Commit
a5a0693
·
verified ·
1 Parent(s): ae9f309

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -259,7 +259,7 @@ def uploadNote(prompt,num_inference_steps,guidance_scale,timestamp):
259
  f.write(f"added torch to prereq and changed accellerate \n")
260
  upload_to_ftp(filename)
261
 
262
- @spaces.GPU(duration=30)
263
  def generate_30(
264
  model_choice: str,
265
  prompt: str,
@@ -566,7 +566,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
566
  minimum=10,
567
  maximum=1000,
568
  step=10,
569
- value=170,
570
  )
571
 
572
  gr.Examples(
 
259
  f.write(f"added torch to prereq and changed accellerate \n")
260
  upload_to_ftp(filename)
261
 
262
+ @spaces.GPU(duration=40)
263
  def generate_30(
264
  model_choice: str,
265
  prompt: str,
 
566
  minimum=10,
567
  maximum=1000,
568
  step=10,
569
+ value=180,
570
  )
571
 
572
  gr.Examples(