nicholasKluge commited on
Commit
a9c7069
1 Parent(s): 94d458b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -102,7 +102,15 @@ with gr.Blocks(theme='freddyaboulton/dracula_revamped') as demo:
102
  gr.Markdown("""<h1><center>Aira Demo 🤓💬</h1></center>""")
103
  gr.Markdown(intro)
104
 
105
- chatbot = gr.Chatbot(label="Aira").style(height=500)
 
 
 
 
 
 
 
 
106
  msg = gr.Textbox(label="Write a question or instruction to Aira ...", placeholder="What is the capital of Brazil?")
107
 
108
  # Parameters to control the generation
 
102
  gr.Markdown("""<h1><center>Aira Demo 🤓💬</h1></center>""")
103
  gr.Markdown(intro)
104
 
105
+ chatbot = gr.Chatbot(label="Aira",
106
+ height=500,
107
+ show_copy_button=True,
108
+ avatar_images=("./astronaut.png", "./robot.png"),
109
+ render_markdown= True,
110
+ line_breaks=True,
111
+ likeable=False,
112
+ layout='panel')
113
+
114
  msg = gr.Textbox(label="Write a question or instruction to Aira ...", placeholder="What is the capital of Brazil?")
115
 
116
  # Parameters to control the generation