Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,10 +4,10 @@ import os
|
|
| 4 |
import sys
|
| 5 |
import time
|
| 6 |
import gradio as gr
|
|
|
|
| 7 |
from huggingface_hub import snapshot_download
|
| 8 |
from huggingface_hub.utils import GatedRepoError, RepositoryNotFoundError, RevisionNotFoundError
|
| 9 |
from pathlib import Path
|
| 10 |
-
import spaces
|
| 11 |
|
| 12 |
# Add the src directory to the system path to allow for local imports
|
| 13 |
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), 'src')))
|
|
|
|
| 4 |
import sys
|
| 5 |
import time
|
| 6 |
import gradio as gr
|
| 7 |
+
import spaces
|
| 8 |
from huggingface_hub import snapshot_download
|
| 9 |
from huggingface_hub.utils import GatedRepoError, RepositoryNotFoundError, RevisionNotFoundError
|
| 10 |
from pathlib import Path
|
|
|
|
| 11 |
|
| 12 |
# Add the src directory to the system path to allow for local imports
|
| 13 |
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), 'src')))
|