Update app.py
Browse files
app.py
CHANGED
@@ -94,6 +94,12 @@ examples=[["I'm planning a vacation to Japan. Can you suggest a one-week itinera
|
|
94 |
["What are some unique features of Rust that make it stand out compared to other systems programming languages like C++?", None, None, None, None, None,],
|
95 |
]
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
gr.ChatInterface(
|
98 |
fn=generate,
|
99 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
@@ -101,4 +107,6 @@ gr.ChatInterface(
|
|
101 |
title="Chat with Santa",
|
102 |
#examples=examples,
|
103 |
concurrency_limit=20,
|
|
|
|
|
104 |
).launch(show_api=False)
|
|
|
94 |
["What are some unique features of Rust that make it stand out compared to other systems programming languages like C++?", None, None, None, None, None,],
|
95 |
]
|
96 |
|
97 |
+
css="""
|
98 |
+
#col-container{
|
99 |
+
max-width: 640px;
|
100 |
+
}
|
101 |
+
"""
|
102 |
+
|
103 |
gr.ChatInterface(
|
104 |
fn=generate,
|
105 |
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
|
|
107 |
title="Chat with Santa",
|
108 |
#examples=examples,
|
109 |
concurrency_limit=20,
|
110 |
+
elem_id="chat-interface",
|
111 |
+
css=css
|
112 |
).launch(show_api=False)
|