publichealthsurveillance commited on
Commit
0101f9c
1 Parent(s): b5eb59d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,13 +21,13 @@ def MentalBERT(text):
21
  results = predictor_mental.predict(str(text))
22
  return str(results)
23
 
24
- def PHS-BERT(text):
25
  results = predictor_phs.predict(str(text))
26
  return str(results)
27
 
28
  bert_io = gr.Interface(fn=BERT, inputs="text", outputs="text")
29
  mental_io = gr.Interface(fn=MentalBERT, inputs="text", outputs="text")
30
- phs_io = gr.Interface(fn=PHS-BERT, inputs="text", outputs="text")
31
 
32
  Parallel(bert_io, mental_io, phs_io,
33
  examples=examples,
 
21
  results = predictor_mental.predict(str(text))
22
  return str(results)
23
 
24
+ def PHSBERT(text):
25
  results = predictor_phs.predict(str(text))
26
  return str(results)
27
 
28
  bert_io = gr.Interface(fn=BERT, inputs="text", outputs="text")
29
  mental_io = gr.Interface(fn=MentalBERT, inputs="text", outputs="text")
30
+ phs_io = gr.Interface(fn=PHSBERT, inputs="text", outputs="text")
31
 
32
  Parallel(bert_io, mental_io, phs_io,
33
  examples=examples,