tanveeshsingh commited on
Commit
8652a18
1 Parent(s): 9a3ebc3

rendered prompt changes

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -43,13 +43,12 @@ async def lynx(input_style_dropdown,document_input,question_input,answer_input):
43
  Your output should be in JSON FORMAT with the keys "REASONING" and "SCORE":
44
  {{"REASONING": <your reasoning as bullet points>, "SCORE": <your final score>}}
45
  """
46
- print(prompt.render(question=question_input,context=document_input,answer=answer_input))
47
  chat_completion = await client.chat.completions.create(
48
  model="tgi",
49
  messages=[
50
  {
51
  "role": "user",
52
- "content": "hey"
53
  }
54
  ],
55
  top_p=None,
 
43
  Your output should be in JSON FORMAT with the keys "REASONING" and "SCORE":
44
  {{"REASONING": <your reasoning as bullet points>, "SCORE": <your final score>}}
45
  """
 
46
  chat_completion = await client.chat.completions.create(
47
  model="tgi",
48
  messages=[
49
  {
50
  "role": "user",
51
+ "content": rendered_prompt
52
  }
53
  ],
54
  top_p=None,