jmliu commited on
Commit
5d8591e
·
1 Parent(s): 6695705

Fix: wrong name and add requirements version

Browse files
Files changed (2) hide show
  1. app.py +2 -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 Font Detection Using DBNet",
132
- description="Gives an image containing CJK fonts, we will mark the texts out!",
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