Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio
|
|
4 |
import huggingface_hub
|
5 |
import os
|
6 |
|
7 |
-
huggingface_hub.login(token=os.environ["HF_TOKEN"],
|
8 |
hf_writer = gradio.HuggingFaceDatasetSaver(os.environ["HF_WRITE_TOKEN"], "fava-flagged-demo")
|
9 |
|
10 |
# Fava prompt
|
|
|
4 |
import huggingface_hub
|
5 |
import os
|
6 |
|
7 |
+
huggingface_hub.login(token=os.environ["HF_TOKEN"], add_to_git_credential=True)
|
8 |
hf_writer = gradio.HuggingFaceDatasetSaver(os.environ["HF_WRITE_TOKEN"], "fava-flagged-demo")
|
9 |
|
10 |
# Fava prompt
|