Spaces:
whan12
/
Running on L4

abhika-m commited on
Commit
0e76852
1 Parent(s): 5a59d36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ huggingface_hub.login(token=os.environ["HF_TOKEN"])
9
  # Fava prompt
10
  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] "
11
 
12
- model = vllm.LLM(model="uw-llm-factuality/FAVA")
13
  def result(passage, reference):
14
  prompt = [INPUT.format_map({"evidence":reference, "output":passage})]
15
  print(prompt)
 
9
  # Fava prompt
10
  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] "
11
 
12
+ model = vllm.LLM(model="fava-uw/fava-model")
13
  def result(passage, reference):
14
  prompt = [INPUT.format_map({"evidence":reference, "output":passage})]
15
  print(prompt)