Spaces:
Running
Running
update gradio lable
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ maxi.categories = learn.dls.vocab
|
|
163 |
maxi.categories2 = learn2.dls.vocab
|
164 |
#hf_image = gradio.inputs.Image(shape=(192, 192))
|
165 |
hf_image = gradio.Image(type="pil")
|
166 |
-
hf_label = gradio.
|
167 |
intf = gradio.Interface(fn=maxi.predict_donut,
|
168 |
inputs=hf_image,
|
169 |
outputs=["plot"],
|
|
|
163 |
maxi.categories2 = learn2.dls.vocab
|
164 |
#hf_image = gradio.inputs.Image(shape=(192, 192))
|
165 |
hf_image = gradio.Image(type="pil")
|
166 |
+
hf_label = gradio.Label()
|
167 |
intf = gradio.Interface(fn=maxi.predict_donut,
|
168 |
inputs=hf_image,
|
169 |
outputs=["plot"],
|