Spaces:
Runtime error
Runtime error
tommymarto
commited on
Commit
•
d4bde9f
1
Parent(s):
9abaf0d
first attempt to hf spaces
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ def greet(name):
|
|
4 |
return "Hello " + name + "! aaaaaaaa !"
|
5 |
|
6 |
def echo(message, history):
|
7 |
-
return
|
8 |
|
9 |
app = gr.Interface(fn=greet, inputs="text", outputs="text")
|
10 |
-
app = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="
|
11 |
app.launch(share=True)
|
|
|
4 |
return "Hello " + name + "! aaaaaaaa !"
|
5 |
|
6 |
def echo(message, history):
|
7 |
+
return "Si"
|
8 |
|
9 |
app = gr.Interface(fn=greet, inputs="text", outputs="text")
|
10 |
+
app = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="Truth bot")
|
11 |
app.launch(share=True)
|