mayank1101 commited on
Commit
5e1e146
·
verified ·
1 Parent(s): d5232b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,9 +16,9 @@ os.system('pip install git+https://github.com/opendatalab/MinerU.git@dev')
16
 
17
  os.system('wget https://github.com/opendatalab/MinerU/raw/master/scripts/download_models_hf.py -O download_models_hf.py')
18
  os.system('python download_models_hf.py')
19
- os.system("sed -i 's|cpu|cuda|g' /home/user/magic-pdf.json")
20
 
21
- os.system('cp -r paddleocr /home/user/.paddleocr')
22
  from gradio_pdf import PDF
23
 
24
  import gradio as gr
 
16
 
17
  os.system('wget https://github.com/opendatalab/MinerU/raw/master/scripts/download_models_hf.py -O download_models_hf.py')
18
  os.system('python download_models_hf.py')
19
+ # os.system("sed -i 's|cpu|cuda|g' /home/user/magic-pdf.json")
20
 
21
+ # os.system('cp -r paddleocr /home/user/.paddleocr')
22
  from gradio_pdf import PDF
23
 
24
  import gradio as gr