Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| def greet(session_name, model): | |
| return "Hello " + session_name + "!" | |
| iface = gr.Interface( | |
| fn=greet, | |
| inputs=[gr.inputs.Textbox(lines=1, placeholder="Session name ..."), gr.inputs.Radio(["letter_maj", "number", "letter_min"])], | |
| outputs="text") | |
| iface.launch(auth=[('test', 'test')]) |