Update app.py
Browse files
app.py
CHANGED
@@ -75,3 +75,8 @@ def segment(image):
|
|
75 |
|
76 |
demo = gr.Interface(segment, gr.Image(type="filepath",shape=(200, 200)), "text")
|
77 |
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
75 |
|
76 |
demo = gr.Interface(segment, gr.Image(type="filepath",shape=(200, 200)), "text")
|
77 |
demo.launch()
|
78 |
+
|
79 |
+
def greet(name):
|
80 |
+
return "Hello " + name + "!"
|
81 |
+
|
82 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|