Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ os.system("sed -i 's|cpu|cuda|g' /home/user/magic-pdf.json")
|
|
21 |
|
22 |
os.system('cp -r paddleocr /home/user/.paddleocr')
|
23 |
|
24 |
-
|
25 |
from gradio_pdf import PDF
|
26 |
|
27 |
import gradio as gr
|
|
|
21 |
|
22 |
os.system('cp -r paddleocr /home/user/.paddleocr')
|
23 |
|
24 |
+
os.system("pip install -U gradio-pdf")
|
25 |
from gradio_pdf import PDF
|
26 |
|
27 |
import gradio as gr
|