shape
Browse files- app.py +3 -1
- requirements.txt +0 -1
app.py
CHANGED
|
@@ -2,6 +2,8 @@ import gradio as gr
|
|
| 2 |
from fastai.vision.all import *
|
| 3 |
import pathlib
|
| 4 |
|
|
|
|
|
|
|
| 5 |
plt = platform.system()
|
| 6 |
if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
| 7 |
|
|
@@ -21,7 +23,7 @@ gr.Interface(
|
|
| 21 |
title="๐ Sugar ๐ถ Yome ๐ฆฎ Yang Chenchen ๐ Recognition ๐",
|
| 22 |
description="Classifier trainded on images of Yang Chenchen Yome, Wang Xinyao, and others. ",
|
| 23 |
examples=['jpg/a.jpg', 'jpg/b.jpg', 'jpg/c.jpg', 'jpg/1.jpg', 'jpg/2.jpg', 'jpg/4.jpg', 'jpg/5.jpg', 'jpg/6.jpg', 'jpg/9.jpg'],
|
| 24 |
-
|
| 25 |
|
| 26 |
|
| 27 |
|
|
|
|
| 2 |
from fastai.vision.all import *
|
| 3 |
import pathlib
|
| 4 |
|
| 5 |
+
# gradio==3.50
|
| 6 |
+
|
| 7 |
plt = platform.system()
|
| 8 |
if plt == 'Linux': pathlib.WindowsPath = pathlib.PosixPath
|
| 9 |
|
|
|
|
| 23 |
title="๐ Sugar ๐ถ Yome ๐ฆฎ Yang Chenchen ๐ Recognition ๐",
|
| 24 |
description="Classifier trainded on images of Yang Chenchen Yome, Wang Xinyao, and others. ",
|
| 25 |
examples=['jpg/a.jpg', 'jpg/b.jpg', 'jpg/c.jpg', 'jpg/1.jpg', 'jpg/2.jpg', 'jpg/4.jpg', 'jpg/5.jpg', 'jpg/6.jpg', 'jpg/9.jpg'],
|
| 26 |
+
).launch()
|
| 27 |
|
| 28 |
|
| 29 |
|
requirements.txt
CHANGED
|
@@ -1,2 +1 @@
|
|
| 1 |
fastai
|
| 2 |
-
gradio==3.50
|
|
|
|
| 1 |
fastai
|
|
|