apailang commited on
Commit
844c0e0
β€’
1 Parent(s): 5eb49ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -129,13 +129,13 @@ test11 = os.path.join(os.path.dirname(__file__), "data/test11.jpeg")
129
  test12 = os.path.join(os.path.dirname(__file__), "data/test12.jpeg")
130
 
131
  gr.Interface(fn=predict,
132
- inputs=gr.Image(type="pil"),
133
- outputs=gr.Image(type="pil"),
134
- title="Image Prediction Interface",
135
- description="Upload a Image for prediction",
136
- examples=[[test1],[test2],[test3],[test4],[test5],[test6],[test7],[test8],[test9],[test10],[test11],[test12],],
137
- cache_examples=True
138
- ).launch(share=True)
139
 
140
 
141
  a = os.path.join(os.path.dirname(__file__), "data/a.mp4") # Video
 
129
  test12 = os.path.join(os.path.dirname(__file__), "data/test12.jpeg")
130
 
131
  gr.Interface(fn=predict,
132
+ inputs=gr.Image(type="pil"),
133
+ outputs=gr.Image(type="pil"),
134
+ title="Image Prediction Interface",
135
+ description="Upload a Image for prediction",
136
+ examples=[[test1],[test2],[test3],[test4],[test5],[test6],[test7],[test8],[test9],[test10],[test11],[test12],],
137
+ cache_examples=True
138
+ ).launch(share=True)
139
 
140
 
141
  a = os.path.join(os.path.dirname(__file__), "data/a.mp4") # Video