John Graham Reynolds
commited on
Commit
·
23e9f70
1
Parent(s):
9ced07d
use f string
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def evaluation(predictions, metrics) -> str:
|
|
46 |
combined.add_batch(predictions=predicted, references=references)
|
47 |
outputs = combined.compute()
|
48 |
|
49 |
-
return "Your metrics are as follows: \n
|
50 |
|
51 |
|
52 |
# gr.Interface(
|
|
|
46 |
combined.add_batch(predictions=predicted, references=references)
|
47 |
outputs = combined.compute()
|
48 |
|
49 |
+
return f"Your metrics are as follows: \n {outputs}"
|
50 |
|
51 |
|
52 |
# gr.Interface(
|