Spaces:
Running
Running
File size: 266 Bytes
9c3d10b c824607 9c3d10b a5cf614 9c3d10b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
import sys
sys.path.insert(0, "ASG.API/")
from ASGModels import ASG
ASGAI=ASG(isForm=False)
def greet(name):
out=ASGAI.Group.Predict_ALL(name)
return str(out)
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()
|