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