ashwinaravind commited on
Commit
8b68307
·
verified ·
1 Parent(s): 9573c90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,5 +43,5 @@ def build_prompt(message,history):
43
  return invoke_openai(prompt)
44
 
45
 
46
- iface = gr.ChatInterface(build_prompt, chatbot=gr.Chatbot(height=300), textbox=gr.Textbox(placeholder="Ask me a question", container=False, scale=7), title="Amazon Bedrock and Titan LLM", 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",)
47
  iface.launch(share=True)
 
43
  return invoke_openai(prompt)
44
 
45
 
46
+ iface = gr.ChatInterface(build_prompt, chatbot=gr.Chatbot(height=300), textbox=gr.Textbox(placeholder="Ask me a question", container=False, scale=7), title="Basic chat on NLP Data", example = ["Which training method should I use for sentence transformers when I only have pairs of related sentences?"] theme="soft", cache_examples=False, retry_btn=None, undo_btn="Delete Previous", clear_btn="Clear",)
47
  iface.launch(share=True)