Spaces:
Sleeping
Sleeping
Ulf Hammerschmied
commited on
Commit
·
a8beb73
1
Parent(s):
05fc356
gradio uses new interface
Browse files- app.py +2 -2
- flagged/log.csv +2 -0
app.py
CHANGED
@@ -18,8 +18,8 @@ description = ("A bear classifier trained on black/grizzly/teddy bear images dow
|
|
18 |
"Created as a demo for Gradio and HuggingFace Spaces.")
|
19 |
examples = ['black.jpg', 'grizzly.jpg', 'teddy.jpg']
|
20 |
grif = gr.Interface(fn=predict,
|
21 |
-
inputs=
|
22 |
-
outputs=
|
23 |
title=title,
|
24 |
description=description,
|
25 |
examples=examples)
|
|
|
18 |
"Created as a demo for Gradio and HuggingFace Spaces.")
|
19 |
examples = ['black.jpg', 'grizzly.jpg', 'teddy.jpg']
|
20 |
grif = gr.Interface(fn=predict,
|
21 |
+
inputs="image",
|
22 |
+
outputs="label",
|
23 |
title=title,
|
24 |
description=description,
|
25 |
examples=examples)
|
flagged/log.csv
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
img,output,flag,username,timestamp
|
2 |
+
/Users/ulfhammerschmied/Desktop/Deep Learning/git/fastai_deeplearning/flagged/img/tmptzlrlxf2.jpg,,,,2023-08-09 17:16:56.306936
|