Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import pickle
|
|
9 |
import os
|
10 |
import tempfile
|
11 |
import shutil
|
12 |
-
import spaces
|
13 |
import asyncio
|
14 |
|
15 |
|
@@ -18,7 +18,7 @@ def create_temp_session_directory():
|
|
18 |
return tempfile.mkdtemp()
|
19 |
|
20 |
# Combined function to perform all steps sequentially
|
21 |
-
|
22 |
def process_pdf_to_podcast(pdf_file):
|
23 |
|
24 |
session_dir = create_temp_session_directory()
|
|
|
9 |
import os
|
10 |
import tempfile
|
11 |
import shutil
|
12 |
+
#import spaces
|
13 |
import asyncio
|
14 |
|
15 |
|
|
|
18 |
return tempfile.mkdtemp()
|
19 |
|
20 |
# Combined function to perform all steps sequentially
|
21 |
+
#@spaces.GPU(duration=120)
|
22 |
def process_pdf_to_podcast(pdf_file):
|
23 |
|
24 |
session_dir = create_temp_session_directory()
|