ashwinaravind commited on
Commit
abf34c0
·
verified ·
1 Parent(s): 3a126f6

removed fn=greet

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
- iface = gr.ChatInterface(fn=greet,
7
  chatbot=gr.Chatbot(height=300),
8
  textbox=gr.Textbox(placeholder="Ask me a question", container=False, scale=7),
9
  title="Oscar 2023 Bot - Amazon Bedrock and Titan",
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
+ iface = gr.ChatInterface(greet,
7
  chatbot=gr.Chatbot(height=300),
8
  textbox=gr.Textbox(placeholder="Ask me a question", container=False, scale=7),
9
  title="Oscar 2023 Bot - Amazon Bedrock and Titan",