abhika-m commited on
Commit
d830e0f
1 Parent(s): 7e3e4ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ hf_writer = gradio.HuggingFaceDatasetSaver(os.environ["HF_WRITE_TOKEN"], "fava-f
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] "
12
 
13
- model = vllm.LLM(model="/fava-uw/fava-model")
14
  def result(passage, reference):
15
  prompt = [INPUT.format_map({"evidence":reference, "output":passage})]
16
  print(prompt)
 
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] "
12
 
13
+ model = vllm.LLM(model="fava-uw/fava-model")
14
  def result(passage, reference):
15
  prompt = [INPUT.format_map({"evidence":reference, "output":passage})]
16
  print(prompt)