Spaces:
Build error
Build error
error test
Browse files
app.py
CHANGED
|
@@ -107,6 +107,8 @@ async def predict(predictionFeatures: PredictionFeatures):
|
|
| 107 |
preprocessed_result = await preprocess_text(text_to_preprocess)
|
| 108 |
|
| 109 |
# Use the preprocessed text for prediction
|
|
|
|
|
|
|
| 110 |
list_text = [preprocessed_result['text_clean']['0']]
|
| 111 |
|
| 112 |
# Load model from MLflow
|
|
|
|
| 107 |
preprocessed_result = await preprocess_text(text_to_preprocess)
|
| 108 |
|
| 109 |
# Use the preprocessed text for prediction
|
| 110 |
+
print(preprocessed_result)
|
| 111 |
+
print([preprocessed_result['text_clean']['0']])
|
| 112 |
list_text = [preprocessed_result['text_clean']['0']]
|
| 113 |
|
| 114 |
# Load model from MLflow
|