Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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."
|