Commit
·
551f88f
1
Parent(s):
58995dc
testing
Browse files
app.py
CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
|
|
2 |
|
3 |
# model =
|
4 |
|
5 |
-
def greet(
|
6 |
-
return "Hello " +
|
7 |
|
8 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
iface.launch()
|
|
|
2 |
|
3 |
# model =
|
4 |
|
5 |
+
def greet(sentiment):
|
6 |
+
return "Hello " + sentiment + "!!"
|
7 |
|
8 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
iface.launch()
|