tommymarto commited on
Commit
d4bde9f
1 Parent(s): 9abaf0d

first attempt to hf spaces

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ def greet(name):
4
  return "Hello " + name + "! aaaaaaaa !"
5
 
6
  def echo(message, history):
7
- return message
8
 
9
  app = gr.Interface(fn=greet, inputs="text", outputs="text")
10
- app = gr.ChatInterface(fn=echo, examples=["hello", "hola", "merhaba"], title="Echo Bot")
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)