Spaces:
Runtime error
Runtime error
removed fn=greet
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import gradio as gr
|
|
| 3 |
def greet(name):
|
| 4 |
return "Hello " + name + "!!"
|
| 5 |
|
| 6 |
-
iface = gr.ChatInterface(
|
| 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",
|