sandz7 commited on
Commit
2dab778
Β·
1 Parent(s): edfd262

placed floats on min and max on slider

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -31,7 +31,7 @@ def osiris(prompt: str,
31
  get the top 5 scores, and ouput those scores into images
32
  """
33
 
34
- n_steps = int(n_steps)
35
 
36
  # Generate image based on text
37
  image_base = base(
@@ -64,8 +64,8 @@ with gr.Blocks(fill_height=True) as demo:
64
  value=40,
65
  label="Number of Inference Steps",
66
  render=False),
67
- gr.Slider(minimum=0,
68
- maximum=1,
69
  step=0.1,
70
  value=0.8,
71
  label="High Noise Fraction",
 
31
  get the top 5 scores, and ouput those scores into images
32
  """
33
 
34
+ # n_steps = int(n_steps)
35
 
36
  # Generate image based on text
37
  image_base = base(
 
64
  value=40,
65
  label="Number of Inference Steps",
66
  render=False),
67
+ gr.Slider(minimum=0.0,
68
+ maximum=1.0,
69
  step=0.1,
70
  value=0.8,
71
  label="High Noise Fraction",