Spaces:
Running
Running
Update space.yaml
Browse files- space.yaml +4 -4
space.yaml
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
|
3 |
sdk: gradio # Using Gradio as the framework
|
4 |
runtime: python # Specify Python environment
|
5 |
-
python_version: 3.
|
6 |
|
7 |
# Install required system dependencies (e.g., LibreOffice for document processing)
|
8 |
system_packages:
|
9 |
- libreoffice
|
10 |
-
- poppler-utils # Required for PDF support
|
11 |
-
- tesseract-ocr # If OCR is needed
|
12 |
-
- ghostscript # PDF rendering support
|
13 |
|
14 |
# Automatically restart the app when files change
|
15 |
restart_on_file_change: true
|
|
|
2 |
|
3 |
sdk: gradio # Using Gradio as the framework
|
4 |
runtime: python # Specify Python environment
|
5 |
+
python_version: 3.11.11 # Choose Python version
|
6 |
|
7 |
# Install required system dependencies (e.g., LibreOffice for document processing)
|
8 |
system_packages:
|
9 |
- libreoffice
|
10 |
+
# - poppler-utils # Required for PDF support
|
11 |
+
# - tesseract-ocr # If OCR is needed
|
12 |
+
# - ghostscript # PDF rendering support
|
13 |
|
14 |
# Automatically restart the app when files change
|
15 |
restart_on_file_change: true
|