Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,6 @@ class AdvancedRAGChatbot:
|
|
65 |
rouge_scores = rouge.score(response, reference)
|
66 |
accuracy = random.uniform(0.8, 1.0) # Replace with real computation
|
67 |
return {
|
68 |
-
"BLEU": bleu_score,
|
69 |
"ROUGE-1": rouge_scores['rouge1'].fmeasure,
|
70 |
"ROUGE-L": rouge_scores['rougeL'].fmeasure,
|
71 |
"Accuracy": accuracy
|
|
|
65 |
rouge_scores = rouge.score(response, reference)
|
66 |
accuracy = random.uniform(0.8, 1.0) # Replace with real computation
|
67 |
return {
|
|
|
68 |
"ROUGE-1": rouge_scores['rouge1'].fmeasure,
|
69 |
"ROUGE-L": rouge_scores['rougeL'].fmeasure,
|
70 |
"Accuracy": accuracy
|