Patt commited on
Commit
41aa58b
·
verified ·
1 Parent(s): c2040d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,8 +4,7 @@ def greeting(name):
4
  return "Hello " + name
5
 
6
  demo = gd.ChatInterface(fn=greeting,
7
- inputs='text',
8
  textbox=gd.Textbox(placeholder="Type the name to greet:", container=False, scale=7),
9
  title="Greeting",
10
- outputs='text')
11
  demo.launch()
 
4
  return "Hello " + name
5
 
6
  demo = gd.ChatInterface(fn=greeting,
 
7
  textbox=gd.Textbox(placeholder="Type the name to greet:", container=False, scale=7),
8
  title="Greeting",
9
+ )
10
  demo.launch()