akariasai commited on
Commit
088e9be
1 Parent(s): 1067ff1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ 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
11
  INPUT = "Read the following references:\n{evidence}\nPlease identify all the errors in the following text using the information in the references provided and suggest edits if necessary:\n[Text] {output}\n[Edited] "
 
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", add_to_git_credential=True)
9
 
10
  # Fava prompt
11
  INPUT = "Read the following references:\n{evidence}\nPlease identify all the errors in the following text using the information in the references provided and suggest edits if necessary:\n[Text] {output}\n[Edited] "