Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def classify_attractiveness(img):
|
|
| 11 |
prediction, index, probability = learner_attractiveness.predict(img)
|
| 12 |
return dict(zip(categories, map(float, probability)))
|
| 13 |
|
| 14 |
-
intf = gr.Interface(fn=
|
| 15 |
inputs=gr.Image(shape=(192, 192)),
|
| 16 |
outputs=gr.Label(),
|
| 17 |
examples=[])
|
|
|
|
| 11 |
prediction, index, probability = learner_attractiveness.predict(img)
|
| 12 |
return dict(zip(categories, map(float, probability)))
|
| 13 |
|
| 14 |
+
intf = gr.Interface(fn=classify_attractiveness,
|
| 15 |
inputs=gr.Image(shape=(192, 192)),
|
| 16 |
outputs=gr.Label(),
|
| 17 |
examples=[])
|