CatoEr's picture
Update app.py
3019ade verified
raw
history blame
No virus
308 Bytes
import gradio as gr
def greet(name):
result = "Label Probabilities:\n" + "afr_amr: 0.797795832157135\n" + "asian: 0.17413224279880524\n"+ "latin: 0.013226916082203388\n"+ "white: 0.014844958670437336"
return result
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()