Matthias Kleiner
commited on
Commit
·
2ef4d5b
1
Parent(s):
282a613
switch private to eth org
Browse files
app.py
CHANGED
|
@@ -5,7 +5,8 @@ import datetime
|
|
| 5 |
from huggingface_hub import hf_api, CommitScheduler, HfApi
|
| 6 |
from pathlib import Path
|
| 7 |
|
| 8 |
-
deckify_private = "ByMatthew/deckify_private"
|
|
|
|
| 9 |
|
| 10 |
feedback_file = Path("output_data/") / f"output_{uuid.uuid4()}.json"
|
| 11 |
feedback_folder = feedback_file.parent
|
|
@@ -97,7 +98,7 @@ def func(file, number_of_pages, secret):
|
|
| 97 |
|
| 98 |
save_output(unique_filename, output, number_of_pages, date_string)
|
| 99 |
|
| 100 |
-
temp_string = "% The following slides are generated with [[SCIDECK]](https://huggingface.co/spaces/
|
| 101 |
temp_string += "\n% Generated on " + date_string
|
| 102 |
temp_string += "\n%" + "-"*100 + "\n"
|
| 103 |
output = temp_string + output
|
|
|
|
| 5 |
from huggingface_hub import hf_api, CommitScheduler, HfApi
|
| 6 |
from pathlib import Path
|
| 7 |
|
| 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
|
|
|
|
| 98 |
|
| 99 |
save_output(unique_filename, output, number_of_pages, date_string)
|
| 100 |
|
| 101 |
+
temp_string = "% The following slides are generated with [[SCIDECK]](https://huggingface.co/spaces/eth-zurich-cle/Scideck)"
|
| 102 |
temp_string += "\n% Generated on " + date_string
|
| 103 |
temp_string += "\n%" + "-"*100 + "\n"
|
| 104 |
output = temp_string + output
|