Spaces:
Runtime error
Runtime error
Commit
·
b199456
1
Parent(s):
a2ea7b8
Delete app.py
Browse files
app.py
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
|
3 |
-
def greet(name):
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|