Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files
hg_app.py
CHANGED
@@ -3,7 +3,7 @@ if True:
|
|
3 |
import os
|
4 |
import spaces
|
5 |
import subprocess
|
6 |
-
|
7 |
def install_package(package_path):
|
8 |
# 确保 package_path 是绝对路径
|
9 |
package_path = os.path.abspath(package_path)
|
|
|
3 |
import os
|
4 |
import spaces
|
5 |
import subprocess
|
6 |
+
import sys
|
7 |
def install_package(package_path):
|
8 |
# 确保 package_path 是绝对路径
|
9 |
package_path = os.path.abspath(package_path)
|