Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import os
|
2 |
import shutil
|
3 |
from huggingface_hub import snapshot_download
|
@@ -6,7 +7,6 @@ os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
|
6 |
from scripts.inference import inference_process
|
7 |
import argparse
|
8 |
import uuid
|
9 |
-
import spaces
|
10 |
|
11 |
is_shared_ui = True if "fudan-generative-ai/hallo" in os.environ['SPACE_ID'] else False
|
12 |
|
|
|
1 |
+
import spaces
|
2 |
import os
|
3 |
import shutil
|
4 |
from huggingface_hub import snapshot_download
|
|
|
7 |
from scripts.inference import inference_process
|
8 |
import argparse
|
9 |
import uuid
|
|
|
10 |
|
11 |
is_shared_ui = True if "fudan-generative-ai/hallo" in os.environ['SPACE_ID'] else False
|
12 |
|