Spaces:
Runtime error
Runtime error
publichealthsurveillance
commited on
Commit
•
02e2d39
1
Parent(s):
1290d2e
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,8 @@ def func_mental(text):
|
|
15 |
return str(results)
|
16 |
|
17 |
def func_phs(text):
|
18 |
-
|
19 |
-
return
|
20 |
# return str(results)
|
21 |
|
22 |
# bert_io = gr.Interface(fn=func_bert, inputs="text", outputs="text")
|
|
|
15 |
return str(results)
|
16 |
|
17 |
def func_phs(text):
|
18 |
+
results = predictor_phs.predict(str(text))
|
19 |
+
return type(results)
|
20 |
# return str(results)
|
21 |
|
22 |
# bert_io = gr.Interface(fn=func_bert, inputs="text", outputs="text")
|