Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ with DemoTab:
|
|
| 34 |
pred_berto = classifier_berto.predict(utils.clean_text(sintomas))
|
| 35 |
|
| 36 |
df = pd.DataFrame({
|
| 37 |
-
'Texto': [sintomas[:50] + '...') if len(sintomas) > 50 else sintomas],
|
| 38 |
'Diagn贸stico': [pred_berto[0]['label']]
|
| 39 |
})
|
| 40 |
|
|
|
|
| 34 |
pred_berto = classifier_berto.predict(utils.clean_text(sintomas))
|
| 35 |
|
| 36 |
df = pd.DataFrame({
|
| 37 |
+
'Texto': [(sintomas[:50] + '...') if len(sintomas) > 50 else sintomas],
|
| 38 |
'Diagn贸stico': [pred_berto[0]['label']]
|
| 39 |
})
|
| 40 |
|