danseith commited on
Commit
e3a2d6f
1 Parent(s): 802cf91

Removed gr slider.

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -100,8 +100,7 @@ from transformers import pipeline, Pipeline
100
  # textbox = gr.Textbox(label="Type language here", lines=5)
101
  #
102
  demo = gr.Interface(
103
- unmask,
104
- [gr.Slider(minimum=0, maximum=15, value=8, step=1, label="Guidance scale")],
105
  inputs=textbox,
106
  outputs="label",
107
  examples=[example],
 
100
  # textbox = gr.Textbox(label="Type language here", lines=5)
101
  #
102
  demo = gr.Interface(
103
+ fn=unmask,
 
104
  inputs=textbox,
105
  outputs="label",
106
  examples=[example],