Spaces:
Sleeping
Sleeping
Fix: wrong name and add requirements version
Browse files- app.py +2 -2
- requirements.txt +7 -7
app.py
CHANGED
@@ -128,8 +128,8 @@ def run(img):
|
|
128 |
|
129 |
if __name__ == '__main__':
|
130 |
iface = gr.Interface(fn=run,
|
131 |
-
title="CJK
|
132 |
-
description="Gives an image containing CJK
|
133 |
inputs="image",
|
134 |
outputs="image")
|
135 |
iface.launch()
|
|
|
128 |
|
129 |
if __name__ == '__main__':
|
130 |
iface = gr.Interface(fn=run,
|
131 |
+
title="CJK Text Detection Using DBNet",
|
132 |
+
description="Gives an image containing CJK texts, we will mark the texts out!",
|
133 |
inputs="image",
|
134 |
outputs="image")
|
135 |
iface.launch()
|
requirements.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
torch
|
2 |
-
torchvision
|
3 |
-
opencv-python
|
4 |
numpy
|
5 |
-
pyclipper
|
6 |
-
gradio
|
7 |
-
matplotlib
|
8 |
-
shapely
|
|
|
1 |
+
torch~=2.0.0
|
2 |
+
torchvision~=0.15.1
|
3 |
+
opencv-python~=4.7.0
|
4 |
numpy
|
5 |
+
pyclipper~=1.3.0
|
6 |
+
gradio~=3.27.0
|
7 |
+
matplotlib~=3.7.1
|
8 |
+
shapely~=2.0.1
|