SahithiR commited on
Commit
e5a1828
·
1 Parent(s): 56d3668

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ description = "A simple Gradio interface to infer on CUSTOMRESNET model, and get
52
  examples = [["cat.jpg", 0.1, -1], ["dog.jpg", 0.1, -1], ["automobile.jpg", 0.1, -1], ["bird.jpg", 0.1, -1], ["deer.jpg", 0.1, -1], ["bird.jpg", 0.1, -1], ["ship.jpg", 0.1, -1], ["frog.jpg", 0.1, -1], ["car.jpg", 0.1, -1], ["plane.jpg", 0.1, -1] ]
53
  demo = gr.Interface(
54
  inference,
55
- inputs = [gr.Image(shape=(32, 32), label="Input Image"), gr.Slider(0, 1, value = 0.5, label="Opacity of GradCAM"),]# (fn=dropdown_list, inputs="dropdown", inputs_args={"x": gr.inputs.Dropdown(options)},label="Layer")],
56
  outputs = [ gr.Image(shape=(32, 32), label="Output").style(width=128, height=128)],
57
  title = title,
58
  description = description,
 
52
  examples = [["cat.jpg", 0.1, -1], ["dog.jpg", 0.1, -1], ["automobile.jpg", 0.1, -1], ["bird.jpg", 0.1, -1], ["deer.jpg", 0.1, -1], ["bird.jpg", 0.1, -1], ["ship.jpg", 0.1, -1], ["frog.jpg", 0.1, -1], ["car.jpg", 0.1, -1], ["plane.jpg", 0.1, -1] ]
53
  demo = gr.Interface(
54
  inference,
55
+ inputs = [gr.Image(shape=(32, 32), label="Input Image"), gr.Slider(0, 1, value = 0.5, label="Opacity of GradCAM")],# (fn=dropdown_list, inputs="dropdown", inputs_args={"x": gr.inputs.Dropdown(options)},label="Layer")],
56
  outputs = [ gr.Image(shape=(32, 32), label="Output").style(width=128, height=128)],
57
  title = title,
58
  description = description,