aiXpert commited on
Commit
229f7e4
ยท
1 Parent(s): d87e4a9
Files changed (2) hide show
  1. app.py +3 -1
  2. 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
- enable_queue=True).launch()
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