Spaces:
Runtime error
Runtime error
publichealthsurveillance
commited on
Commit
•
a8f674d
1
Parent(s):
646ce20
Update app.py
Browse files
app.py
CHANGED
@@ -18,10 +18,11 @@ def func_phs(text):
|
|
18 |
results = predictor_phs.predict(str(text))
|
19 |
return str(results)
|
20 |
|
21 |
-
bert_io = gr.Interface(fn=func_bert, inputs="text", outputs="text")
|
22 |
# mental_io = gr.Interface(fn=func_mental, inputs="text", outputs="text")
|
23 |
-
|
24 |
|
25 |
# Parallel(bert_io, mental_io, phs_io).launch()
|
26 |
|
27 |
-
bert_io.launch()
|
|
|
|
18 |
results = predictor_phs.predict(str(text))
|
19 |
return str(results)
|
20 |
|
21 |
+
# bert_io = gr.Interface(fn=func_bert, inputs="text", outputs="text")
|
22 |
# mental_io = gr.Interface(fn=func_mental, inputs="text", outputs="text")
|
23 |
+
phs_io = gr.Interface(fn=func_phs, inputs="text", outputs="text")
|
24 |
|
25 |
# Parallel(bert_io, mental_io, phs_io).launch()
|
26 |
|
27 |
+
# bert_io.launch()
|
28 |
+
phs_io.launch()
|