Spaces:
Sleeping
Sleeping
File size: 294 Bytes
83e0a58 ca0bbc9 a6e30b2 83e0a58 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(
fn=greet,
inputs=[gr.Textbox(label="test"),
gr.Slider(minimum=10, maximum=20, value=15)],
outputs=gr.Image(label="Outputimage")
)
print(iface.get_config_file())
iface.launch() |