Spaces:
Build error
Build error
updated /predict description2
Browse files
app.py
CHANGED
|
@@ -65,7 +65,8 @@ async def predict(predictionFeatures: PredictionFeatures):
|
|
| 65 |
|
| 66 |
### Input
|
| 67 |
- `predictionFeatures` (PredictionFeatures): An object containing the text to be analyzed.
|
| 68 |
-
-
|
|
|
|
| 69 |
|
| 70 |
### Output
|
| 71 |
Returns a dictionary with the following keys:
|
|
|
|
| 65 |
|
| 66 |
### Input
|
| 67 |
- `predictionFeatures` (PredictionFeatures): An object containing the text to be analyzed.
|
| 68 |
+
- `predictionFeatures` is a dictionnary with 'Text' as only key
|
| 69 |
+
- The input text is provided as a string as a value of the 'Text' key
|
| 70 |
|
| 71 |
### Output
|
| 72 |
Returns a dictionary with the following keys:
|