khurrameycon commited on
Commit
246525b
·
verified ·
1 Parent(s): a3cc5d4

from threading import Thread

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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"