Spaces:
Runtime error
Runtime error
rongo1
commited on
Commit
·
43c005c
1
Parent(s):
22543a3
fixing setup.sh
Browse files- requirements.txt +2 -1
- setup.sh +8 -0
requirements.txt
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
gradio
|
2 |
python-pptx
|
3 |
fpdf
|
4 |
-
Pillow
|
|
|
|
1 |
gradio
|
2 |
python-pptx
|
3 |
fpdf
|
4 |
+
Pillow
|
5 |
+
pdf2image
|
setup.sh
CHANGED
@@ -2,5 +2,13 @@ apt-get update
|
|
2 |
apt-get install poppler-utils
|
3 |
apt-get install -y unoconv libreoffice
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
apt-get clean
|
|
|
2 |
apt-get install poppler-utils
|
3 |
apt-get install -y unoconv libreoffice
|
4 |
|
5 |
+
cp /usr/bin/unoconv /usr/local/bin/unoconv
|
6 |
+
sed -i 's|#!/usr/bin/env python3|#!/usr/bin/python3|' /usr/local/bin/unoconv
|
7 |
+
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
|
13 |
|
14 |
apt-get clean
|