Spaces:
Running
Running
TeacherPuffy
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def process_text(file, prompt):
|
|
56 |
# Upload to Hugging Face dataset
|
57 |
hf_api = HfApi(token=os.environ["HUGGINGFACE_TOKEN"])
|
58 |
dataset = Dataset.from_dict({"text": results})
|
59 |
-
dataset.push_to_hub("
|
60 |
|
61 |
# Create a ZIP file
|
62 |
with zipfile.ZipFile("outputs.zip", "w") as zipf:
|
|
|
56 |
# Upload to Hugging Face dataset
|
57 |
hf_api = HfApi(token=os.environ["HUGGINGFACE_TOKEN"])
|
58 |
dataset = Dataset.from_dict({"text": results})
|
59 |
+
dataset.push_to_hub("TeacherPuffy/book")
|
60 |
|
61 |
# Create a ZIP file
|
62 |
with zipfile.ZipFile("outputs.zip", "w") as zipf:
|