Spaces:
Sleeping
Sleeping
socd06
commited on
Commit
·
7e8254c
1
Parent(s):
fbd964c
remove login
Browse files
app.py
CHANGED
@@ -19,7 +19,6 @@ def predict_fn(img):
|
|
19 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
20 |
|
21 |
|
22 |
-
login()
|
23 |
gr.Interface(predict_fn,
|
24 |
gr.inputs.Image(type='pil', shape=(512, 512)),
|
25 |
outputs=gr.outputs.Label(num_top_classes=3)).launch()
|
|
|
19 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
20 |
|
21 |
|
|
|
22 |
gr.Interface(predict_fn,
|
23 |
gr.inputs.Image(type='pil', shape=(512, 512)),
|
24 |
outputs=gr.outputs.Label(num_top_classes=3)).launch()
|