wasmdashai commited on
Commit
7c2d1cf
·
verified ·
1 Parent(s): 2ba98ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,11 +20,11 @@ model_choices = gr.Dropdown(
20
 
21
  def greet(text,namn_model):
22
  if namn_model=="Group":
23
- out=ASGAI.Group.Predict_ALL(text)
24
  elif namn_model=="Technique":
25
- out=ASGAI.Technique.Predict_ALL(text)
26
  else:
27
- out=ASGAI.Soft.Predict_ALL(text)
28
 
29
 
30
 
 
20
 
21
  def greet(text,namn_model):
22
  if namn_model=="Group":
23
+ out=ASGAI.Group.predictAPI(text)
24
  elif namn_model=="Technique":
25
+ out=ASGAI.Tec.predictAPI(text)
26
  else:
27
+ out=ASGAI.Soft.predictAPI(text)
28
 
29
 
30