Sid26Roy commited on
Commit
7467be4
·
verified ·
1 Parent(s): b14c280

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -195,7 +195,7 @@ def recommend_gradio(img, top_k=5):
195
 
196
 
197
  # ---------------- GRADIO APP ----------------
198
- iface = gr.Interface(
199
  fn=recommend_gradio,
200
  inputs=gr.Image(type="filepath", label="Upload an Image"),
201
  outputs=gr.Gallery(label="Top Matches", columns=5, rows=2),
@@ -205,4 +205,4 @@ iface = gr.Interface(
205
 
206
 
207
  if __name__ == "__main__":
208
- demo.launch()
 
195
 
196
 
197
  # ---------------- GRADIO APP ----------------
198
+ interface = gr.Interface(
199
  fn=recommend_gradio,
200
  inputs=gr.Image(type="filepath", label="Upload an Image"),
201
  outputs=gr.Gallery(label="Top Matches", columns=5, rows=2),
 
205
 
206
 
207
  if __name__ == "__main__":
208
+ interface.launch()