Spaces:
Running
Running
import gradio as gr | |
from main import main_fn | |
iface = gr.Interface( | |
fn=main_fn, | |
inputs= [ | |
gr.inputs.Textbox(type="text", label='Name') | |
], | |
outputs= [ | |
gr.outputs.Textbox(type="text", label='Gender'), | |
# gr.outputs.Number(label = 'Percentage confidence') | |
] | |
) | |
iface.launch() |