Amirizaniani commited on
Commit
80b4eec
·
verified ·
1 Parent(s): 688544c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def calculate_similarity_score(sentences):
125
  score_out_of_100 = (average_similarity + 1) / 2 * 100
126
  return score_out_of_100
127
 
128
- def answer_question(prompt):
129
  prompt_template = PromptTemplate.from_template(
130
  input_variables=["Question"],
131
  template=f"give one answer for {prompt} and do not consider the number behind it."
 
125
  score_out_of_100 = (average_similarity + 1) / 2 * 100
126
  return score_out_of_100
127
 
128
+ def answer_question1(prompt):
129
  prompt_template = PromptTemplate.from_template(
130
  input_variables=["Question"],
131
  template=f"give one answer for {prompt} and do not consider the number behind it."