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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -17
app.py CHANGED
@@ -3,21 +3,5 @@ import gradio as gr
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",
10
- theme="soft",
11
- examples=[
12
- "Who won the best music award?",
13
- "Which award did Avatar win?",
14
- "Who won the Best Actor award in a supporting role?",
15
- "Who is the lyricist for the song Natu Natu from RRR?",
16
- "How many awards did the film RRR win?",
17
- "Which was the Best International Feature Film?",
18
- ],
19
- cache_examples=False,
20
- retry_btn=None,
21
- undo_btn="Delete Previous",
22
- clear_btn="Clear",)
23
  iface.launch()
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
+ 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",)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  iface.launch()