Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ def inference(file_name, _clear_punctuation_references, _clear_punctuation_predi
|
|
173 |
rtf = inference_seconds / duration_seconds
|
174 |
|
175 |
if _clear_punctuation_references:
|
176 |
-
references = df["
|
177 |
clean_value, return_dtype=pl.String
|
178 |
)
|
179 |
else:
|
|
|
173 |
rtf = inference_seconds / duration_seconds
|
174 |
|
175 |
if _clear_punctuation_references:
|
176 |
+
references = df["reference"].map_elements(
|
177 |
clean_value, return_dtype=pl.String
|
178 |
)
|
179 |
else:
|