Samarth991 commited on
Commit
4a60e71
1 Parent(s): 1156e8e

Updated Alpha and beta values

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -69,14 +69,14 @@ 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 5 and 50"),
73
- gr.Slider(0.1, 1, value=1, label="beta", info="Choose between 1 and 5"),
74
  "image",
75
  "text"
76
  ],
77
  outputs = "image",
78
- description ="Add an Image and lists of category to be detected separated by commas(atleast 2 )",
79
- title = "Zero-shot Image Segmentation with Prompt ",
80
  examples=[
81
  [19,1.5,"images/seats.jpg","door,table,chairs"],
82
  [20,1.8,"images/vegetables.jpg","carrot,white radish,brinjal,basket,potato"],
 
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
  ],
77
  outputs = "image",
78
+ description ="Add an Image and categories to be detected separated by commas(atleast 2 )",
79
+ title = "Zero-shot Image Segmentation with Prompt",
80
  examples=[
81
  [19,1.5,"images/seats.jpg","door,table,chairs"],
82
  [20,1.8,"images/vegetables.jpg","carrot,white radish,brinjal,basket,potato"],