Spaces:
Runtime error
Runtime error
Commit
•
6ea93fd
1
Parent(s):
74bcc75
updated decoder
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def compare_models(text):
|
|
81 |
}}
|
82 |
result2 = {
|
83 |
"Optimized Model": {
|
84 |
-
"answer": decode[out3[0]],
|
85 |
"average time (ms)": avg_latency_ms_model_3,
|
86 |
"throughput (tokens/sec)": throughput_tokens_per_sec2
|
87 |
}}
|
|
|
81 |
}}
|
82 |
result2 = {
|
83 |
"Optimized Model": {
|
84 |
+
"answer": decode[out3.numpy()[0]],
|
85 |
"average time (ms)": avg_latency_ms_model_3,
|
86 |
"throughput (tokens/sec)": throughput_tokens_per_sec2
|
87 |
}}
|