Spaces:
Build error
Build error
积极的屁孩
commited on
Commit
·
b3c35e4
1
Parent(s):
9c4257f
fix
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import tempfile
|
|
6 |
from pathlib import Path
|
7 |
import importlib.util
|
8 |
import shutil
|
9 |
-
from huggingface_hub import snapshot_download, hf_hub_download
|
10 |
import requests
|
11 |
|
12 |
# 下载必要的模型代码
|
@@ -495,4 +495,4 @@ def create_interface():
|
|
495 |
|
496 |
if __name__ == "__main__":
|
497 |
demo = create_interface()
|
498 |
-
|
|
|
6 |
from pathlib import Path
|
7 |
import importlib.util
|
8 |
import shutil
|
9 |
+
from huggingface_hub import snapshot_download, hf_hub_download
|
10 |
import requests
|
11 |
|
12 |
# 下载必要的模型代码
|
|
|
495 |
|
496 |
if __name__ == "__main__":
|
497 |
demo = create_interface()
|
498 |
+
demo.launch()
|