Spaces:
Runtime error
Runtime error
rongo1
commited on
Commit
·
8adf371
1
Parent(s):
04131f9
app.py
CHANGED
@@ -3,7 +3,7 @@ import subprocess
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Run the setup script to install unoconv and libreoffice
|
6 |
-
|
7 |
|
8 |
# Function to convert PowerPoint to PDF using unoconv
|
9 |
def pptx_to_pdf(input_pptx):
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
# Run the setup script to install unoconv and libreoffice
|
6 |
+
subprocess.run(['bash', 'setup.sh'], check=True)
|
7 |
|
8 |
# Function to convert PowerPoint to PDF using unoconv
|
9 |
def pptx_to_pdf(input_pptx):
|