kadirnar commited on
Commit
ebfa305
1 Parent(s): 68106c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -61,45 +61,45 @@ demo_inputs = [
61
  choices=model_list,
62
  value="CompVis/stable-diffusion-v1-4",
63
  ),
64
- gr.inputs.Textbox(
65
  label="Prompt",
66
- default='a flower blooming'
67
 
68
  ),
69
- gr.inputs.Slider(
70
  label="Video Length",
71
  minimum=1,
72
  maximum=50,
73
- default=8,
74
  step=1,
75
  ),
76
- gr.inputs.Slider(
77
  label="Height",
78
  minimum=128,
79
  maximum=1280,
80
- default=416,
81
  step=32,
82
 
83
  ),
84
- gr.inputs.Slider(
85
  label="Width",
86
  minimum=128,
87
  maximum=1280,
88
- default=416,
89
  step=32,
90
  ),
91
- gr.inputs.Slider(
92
  label="Num Inference Steps",
93
  minimum=1,
94
  maximum=100,
95
- default=50,
96
  step=1,
97
  ),
98
- gr.inputs.Slider(
99
  label="Guidance Scale",
100
  minimum=0.0,
101
  maximum=100,
102
- default=7.5,
103
  step=0.5,
104
  )
105
  ]
 
61
  choices=model_list,
62
  value="CompVis/stable-diffusion-v1-4",
63
  ),
64
+ gr.Textbox(
65
  label="Prompt",
66
+ value='a flower blooming'
67
 
68
  ),
69
+ gr.Slider(
70
  label="Video Length",
71
  minimum=1,
72
  maximum=50,
73
+ value=8,
74
  step=1,
75
  ),
76
+ gr.Slider(
77
  label="Height",
78
  minimum=128,
79
  maximum=1280,
80
+ value=416,
81
  step=32,
82
 
83
  ),
84
+ gr.Slider(
85
  label="Width",
86
  minimum=128,
87
  maximum=1280,
88
+ value=416,
89
  step=32,
90
  ),
91
+ gr.Slider(
92
  label="Num Inference Steps",
93
  minimum=1,
94
  maximum=100,
95
+ value=50,
96
  step=1,
97
  ),
98
+ gr.Slider(
99
  label="Guidance Scale",
100
  minimum=0.0,
101
  maximum=100,
102
+ value=7.5,
103
  step=0.5,
104
  )
105
  ]