Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1182,14 +1182,14 @@ def handle_large_dataset(df, create_document,isDataFrame):
|
|
| 1182 |
files = os.listdir(current_folder)
|
| 1183 |
print(f"Files in persistent storage: {files}")
|
| 1184 |
print(f"The current folder is: {current_folder}")
|
| 1185 |
-
from huggingface_hub import Repository
|
| 1186 |
|
| 1187 |
repo = Repository(
|
| 1188 |
local_dir="./",
|
| 1189 |
repo_type="space",
|
| 1190 |
repo_id="Redmind/NewageNXTGPT",
|
| 1191 |
use_auth_token=os.getenv("HF_TOKEN"),
|
| 1192 |
-
)
|
| 1193 |
|
| 1194 |
file_path = "/home/user/app/output.xlsx"
|
| 1195 |
#download_url = repo.get_download_url(file_path)
|
|
|
|
| 1182 |
files = os.listdir(current_folder)
|
| 1183 |
print(f"Files in persistent storage: {files}")
|
| 1184 |
print(f"The current folder is: {current_folder}")
|
| 1185 |
+
"""from huggingface_hub import Repository
|
| 1186 |
|
| 1187 |
repo = Repository(
|
| 1188 |
local_dir="./",
|
| 1189 |
repo_type="space",
|
| 1190 |
repo_id="Redmind/NewageNXTGPT",
|
| 1191 |
use_auth_token=os.getenv("HF_TOKEN"),
|
| 1192 |
+
)"""
|
| 1193 |
|
| 1194 |
file_path = "/home/user/app/output.xlsx"
|
| 1195 |
#download_url = repo.get_download_url(file_path)
|