Spaces:
Build error
Build error
First model version
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import os
|
2 |
-
|
3 |
-
|
4 |
os.system('pip install "git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI"')
|
5 |
os.system('python setup.py build develop --user')
|
6 |
#os.system('pip install git+https://github.com/Cyril-Sterling/ContourNet')
|
@@ -32,8 +32,8 @@ def infer(filepath):
|
|
32 |
|
33 |
iface = gr.Interface(
|
34 |
fn=infer,
|
35 |
-
title="
|
36 |
-
description="
|
37 |
inputs=[gr.inputs.Image(label="image", type="filepath")],
|
38 |
outputs=[gr.outputs.Image()], #, gr.outputs.Dataframe(headers=['word'])],
|
39 |
#examples=['example1.jpg', 'example2.jpg', 'example3.jpg'],
|
|
|
1 |
import os
|
2 |
+
os.system('pip install --upgrade --no-cache-dir gdown')
|
3 |
+
os.system('gdown -O ./output/ctw/ 1nhT7yuqJ8V8vfoJdI0Qn6notmoLFRrmm')
|
4 |
os.system('pip install "git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI"')
|
5 |
os.system('python setup.py build develop --user')
|
6 |
#os.system('pip install git+https://github.com/Cyril-Sterling/ContourNet')
|
|
|
32 |
|
33 |
iface = gr.Interface(
|
34 |
fn=infer,
|
35 |
+
title="张博强毕设展示",
|
36 |
+
description="毕设题目:自然场景中任意形状文字的检测与识别\n目前进度:检测",
|
37 |
inputs=[gr.inputs.Image(label="image", type="filepath")],
|
38 |
outputs=[gr.outputs.Image()], #, gr.outputs.Dataframe(headers=['word'])],
|
39 |
#examples=['example1.jpg', 'example2.jpg', 'example3.jpg'],
|