Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def predict(img):
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
-
title = "์ ์๋๋ฌผ ํ์ข
๋ถ๋ฅ๊ธฐ"
|
14 |
description = "fastai๋ฅผ ์ฌ์ฉํ์ฌ Oxford Pets ๋ฐ์ดํฐ ์ธํธ์์ ํ๋ จ๋ ์ ์ โโ๋๋ฌผ ํ์ข
๋ถ๋ฅ๊ธฐ์
๋๋ค. Gradio์ HuggingFace Spaces ๋ฐ๋ชจ๋ก ์ ์๋์์ต๋๋ค."
|
15 |
#article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
16 |
examples = ['golden-retriever-dog-21668976.jpg']
|
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
+
title = "ํ์ก์ด์ ์ ์๋๋ฌผ ํ์ข
๋ถ๋ฅ๊ธฐ"
|
14 |
description = "fastai๋ฅผ ์ฌ์ฉํ์ฌ Oxford Pets ๋ฐ์ดํฐ ์ธํธ์์ ํ๋ จ๋ ์ ์ โโ๋๋ฌผ ํ์ข
๋ถ๋ฅ๊ธฐ์
๋๋ค. Gradio์ HuggingFace Spaces ๋ฐ๋ชจ๋ก ์ ์๋์์ต๋๋ค."
|
15 |
#article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
16 |
examples = ['golden-retriever-dog-21668976.jpg']
|