PrarthanaTS commited on
Commit
cce325a
·
1 Parent(s): 086a3f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -121,13 +121,14 @@ description_with_icon = f"""
121
  </div>
122
  """
123
 
 
124
 
125
  demo = gr.Interface(processed_image,
126
  inputs=[gr.Image(label="Input Image"),],
127
- output = [gr.Plot(),
128
- output.set_background_color("lightgray"),
129
- output = gr.Image(shape=(32, 32)),
130
- output.set_label("Model Prediction"),],
131
  title=title_with_icon,
132
  description=description_with_icon,
133
  examples=examples,
 
121
  </div>
122
  """
123
 
124
+ outputs=[gr.Plot(),gr.Image(shape=(32, 32), label="Model Prediction")]
125
 
126
  demo = gr.Interface(processed_image,
127
  inputs=[gr.Image(label="Input Image"),],
128
+ outputs=[
129
+ gr.Plot(label="Output Plot",style="background-color: lightgray;"),
130
+ gr.Image(shape=(32, 32), label="Model Prediction")
131
+ ],
132
  title=title_with_icon,
133
  description=description_with_icon,
134
  examples=examples,