kushagra124 commited on
Commit
8e2ffcb
1 Parent(s): 9519ee9

adding notebook

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,8 +69,8 @@ def shot(alpha,beta,image,labels_text):
69
 
70
  iface = gr.Interface(fn=shot,
71
  inputs = [
72
- gr.Slider(0.1, 1, value=0.4, label="alpha", info="Choose between 0.1 to 1"),
73
- gr.Slider(0.1, 1, value=1, label="beta", info="Choose between 0.1 to 1"),
74
  "image",
75
  "text"
76
  ],
 
69
 
70
  iface = gr.Interface(fn=shot,
71
  inputs = [
72
+ gr.Slider(0.1, 1, value=0.4, step=0.1 , label="alpha", info="Choose between 0.1 to 1"),
73
+ gr.Slider(0.1, 1, value=1, step=0.1, label="beta", info="Choose between 0.1 to 1"),
74
  "image",
75
  "text"
76
  ],