Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def generate(text, history):
|
|
32 |
temperature=0.6,
|
33 |
)
|
34 |
#zum Evaluieren:
|
35 |
-
eval_result = evaluator.evaluate_strings(prediction=res.strip(), input=text)
|
36 |
print ("eval_result:............ ")
|
37 |
print(eval_result)
|
38 |
return res.strip()
|
|
|
32 |
temperature=0.6,
|
33 |
)
|
34 |
#zum Evaluieren:
|
35 |
+
eval_result = evaluator.evaluate_strings(prediction=res.strip(), input=text, requires_reference=True)
|
36 |
print ("eval_result:............ ")
|
37 |
print(eval_result)
|
38 |
return res.strip()
|