Spaces:
Runtime error
Runtime error
Update app.py
Browse files2 unmodified lines345678910111213141516171819202122232 unmodified linesdef greet(name):return "Hello " + name + "!!"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",)iface.launch()2 unmodified lines345672 unmodified linesdef greet(name):return "Hello " + name + "!!"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",)iface.launch()
app.py+1-17