Spaces:
Runtime error
Runtime error
Commit
•
6af8317
1
Parent(s):
1b6bc9b
share=True
Browse files
app.py
CHANGED
@@ -5,4 +5,4 @@ def greet(message, history):
|
|
5 |
return message
|
6 |
|
7 |
iface = gr.ChatInterface(greet, chatbot=gr.Chatbot(height=300), textbox=gr.Textbox(placeholder="Ask me a question", container=False, scale=7), title="Oscar 2023 Bot - Amazon Bedrock and Titan", theme="soft", examples=[ "Who won the best music award?", "Which award did Avatar win?", "Who won the Best Actor award in a supporting role?", "Who is the lyricist for the song Natu Natu from RRR?", "How many awards did the film RRR win?", "Which was the Best International Feature Film?",], cache_examples=False, retry_btn=None, undo_btn="Delete Previous", clear_btn="Clear",)
|
8 |
-
iface.launch()
|
|
|
5 |
return message
|
6 |
|
7 |
iface = gr.ChatInterface(greet, chatbot=gr.Chatbot(height=300), textbox=gr.Textbox(placeholder="Ask me a question", container=False, scale=7), title="Oscar 2023 Bot - Amazon Bedrock and Titan", theme="soft", examples=[ "Who won the best music award?", "Which award did Avatar win?", "Who won the Best Actor award in a supporting role?", "Who is the lyricist for the song Natu Natu from RRR?", "How many awards did the film RRR win?", "Which was the Best International Feature Film?",], cache_examples=False, retry_btn=None, undo_btn="Delete Previous", clear_btn="Clear",)
|
8 |
+
iface.launch(share=True)
|