Spaces:
Sleeping
Sleeping
from PyPDF2 import PdfReader
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from PIL import Image
|
|
6 |
import spaces
|
7 |
import tempfile
|
8 |
import requests
|
|
|
9 |
|
10 |
# Check if we're running in a Hugging Face Space and if SPACES_ZERO_GPU is enabled
|
11 |
IS_SPACES_ZERO = os.environ.get("SPACES_ZERO_GPU", "0") == "1"
|
|
|
6 |
import spaces
|
7 |
import tempfile
|
8 |
import requests
|
9 |
+
from PyPDF2 import PdfReader
|
10 |
|
11 |
# Check if we're running in a Hugging Face Space and if SPACES_ZERO_GPU is enabled
|
12 |
IS_SPACES_ZERO = os.environ.get("SPACES_ZERO_GPU", "0") == "1"
|