Spaces:
Runtime error
Runtime error
JustinLin610
commited on
Commit
•
8239234
1
Parent(s):
e235062
debug
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ import gradio as gr
|
|
26 |
tasks.register_task('ocr', OcrTask)
|
27 |
|
28 |
os.system('wget https://shuangqing-multimodal.oss-cn-zhangjiakou.aliyuncs.com/ocr_general_clean.pt; '
|
29 |
-
'mkdir -p checkpoints; mv ocr_general_clean.pt checkpoints/
|
30 |
|
31 |
# turn on cuda if GPU is available
|
32 |
use_cuda = torch.cuda.is_available()
|
|
|
26 |
tasks.register_task('ocr', OcrTask)
|
27 |
|
28 |
os.system('wget https://shuangqing-multimodal.oss-cn-zhangjiakou.aliyuncs.com/ocr_general_clean.pt; '
|
29 |
+
'mkdir -p checkpoints; mv ocr_general_clean.pt checkpoints/ocr_general_clean.pt')
|
30 |
|
31 |
# turn on cuda if GPU is available
|
32 |
use_cuda = torch.cuda.is_available()
|