Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,6 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
-
iface = gr.Interface(fn=greet, inputs="
|
7 |
print(iface.get_config())
|
8 |
iface.launch()
|
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
+
iface = gr.Interface(fn=greet, inputs=[gr.Textbox(label="test"), gr.Slider(minimum=10, maximum=20, value=15), outputs=gr.Image(label="Outputimage"))
|
7 |
print(iface.get_config())
|
8 |
iface.launch()
|