IvanMao714 commited on
Commit
147c317
1 Parent(s): 696b6e2

fix app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -126,10 +126,10 @@ def igredent(img):
126
 
127
  demo = gr.Interface(fn=igredent, inputs=[gr.Image()], outputs=["text", "text","text"],
128
  examples=[
129
- os.path.join("../data/demo_imgs/", "1.jpg"),
130
- os.path.join("../data/demo_imgs/", "2.jpg"),
131
- os.path.join("../data/demo_imgs/", "3.jpg"),
132
- os.path.join("../data/demo_imgs/", "4.jpg"),
133
  ],)
134
 
135
  if __name__ == "__main__":
 
126
 
127
  demo = gr.Interface(fn=igredent, inputs=[gr.Image()], outputs=["text", "text","text"],
128
  examples=[
129
+ os.path.join("./data/demo_imgs/", "1.jpg"),
130
+ os.path.join("./data/demo_imgs/", "2.jpg"),
131
+ os.path.join("./data/demo_imgs/", "3.jpg"),
132
+ os.path.join("./data/demo_imgs/", "4.jpg"),
133
  ],)
134
 
135
  if __name__ == "__main__":