merve HF staff commited on
Commit
3f23b4f
1 Parent(s): b8d1d45

Set inference hyperparameters that perform well

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -23,7 +23,7 @@ def tune_video_predict(
23
  demo_inputs = [
24
  gr.inputs.Textbox(
25
  label="Prompt",
26
- default='a panda is surfing'
27
 
28
  ),
29
  gr.inputs.Slider(
@@ -52,14 +52,14 @@ demo_inputs = [
52
  label="Num Inference Steps",
53
  minimum=1,
54
  maximum=100,
55
- default=10,
56
  step=1,
57
  ),
58
  gr.inputs.Slider(
59
  label="Guidance Scale",
60
  minimum=0.0,
61
  maximum=50,
62
- default=7.5,
63
  step=0.5,
64
  )
65
  ]
 
23
  demo_inputs = [
24
  gr.inputs.Textbox(
25
  label="Prompt",
26
+ default='a flower blooming'
27
 
28
  ),
29
  gr.inputs.Slider(
 
52
  label="Num Inference Steps",
53
  minimum=1,
54
  maximum=100,
55
+ default=50,
56
  step=1,
57
  ),
58
  gr.inputs.Slider(
59
  label="Guidance Scale",
60
  minimum=0.0,
61
  maximum=50,
62
+ default=50,
63
  step=0.5,
64
  )
65
  ]