Matthias Kleiner
commited on
Commit
·
2504cff
1
Parent(s):
38b10ba
changed dataset id
Browse files
app.py
CHANGED
|
@@ -8,11 +8,14 @@ from pathlib import Path
|
|
| 8 |
deckify_private = "ByMatthew/deckify_private"
|
| 9 |
# deckify_private = "eth-zurich-cle/deckify_private"
|
| 10 |
|
|
|
|
|
|
|
| 11 |
feedback_file = Path("output_data/") / f"output_{uuid.uuid4()}.json"
|
| 12 |
feedback_folder = feedback_file.parent
|
| 13 |
|
| 14 |
scheduler = CommitScheduler(
|
| 15 |
-
repo_id="eth-zurich-cle/deckify-dataset",
|
|
|
|
| 16 |
repo_type="dataset",
|
| 17 |
folder_path=feedback_folder,
|
| 18 |
path_in_repo="output_data",
|
|
@@ -54,7 +57,7 @@ def func(file, number_of_pages, secret):
|
|
| 54 |
# path_or_fileobj="/path/to/local/folder/README.md",
|
| 55 |
path_or_fileobj=file,
|
| 56 |
path_in_repo=f"input_files/{unique_filename}",
|
| 57 |
-
repo_id=
|
| 58 |
repo_type="dataset",
|
| 59 |
)
|
| 60 |
|
|
|
|
| 8 |
deckify_private = "ByMatthew/deckify_private"
|
| 9 |
# deckify_private = "eth-zurich-cle/deckify_private"
|
| 10 |
|
| 11 |
+
repo_id = "eth-zurich-cle/scideck-dataset"
|
| 12 |
+
|
| 13 |
feedback_file = Path("output_data/") / f"output_{uuid.uuid4()}.json"
|
| 14 |
feedback_folder = feedback_file.parent
|
| 15 |
|
| 16 |
scheduler = CommitScheduler(
|
| 17 |
+
# repo_id="eth-zurich-cle/deckify-dataset",
|
| 18 |
+
repo_id=repo_id,
|
| 19 |
repo_type="dataset",
|
| 20 |
folder_path=feedback_folder,
|
| 21 |
path_in_repo="output_data",
|
|
|
|
| 57 |
# path_or_fileobj="/path/to/local/folder/README.md",
|
| 58 |
path_or_fileobj=file,
|
| 59 |
path_in_repo=f"input_files/{unique_filename}",
|
| 60 |
+
repo_id=repo_id,
|
| 61 |
repo_type="dataset",
|
| 62 |
)
|
| 63 |
|