Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -120,20 +120,13 @@ class XylariaChat:
|
|
120 |
}
|
121 |
"""
|
122 |
|
123 |
-
# Chat starters
|
124 |
-
chat_starters = [
|
125 |
-
["What can you do?", "I can assist you with a variety of tasks, including answering questions, generating creative content, and much more!"],
|
126 |
-
["How can I improve my productivity?", "Here are a few tips to boost productivity: prioritize tasks, use the Pomodoro technique, and minimize distractions."]
|
127 |
-
]
|
128 |
-
|
129 |
with gr.Blocks(theme='soft', css=custom_css) as demo:
|
130 |
# Chat interface with improved styling
|
131 |
with gr.Column():
|
132 |
chatbot = gr.Chatbot(
|
133 |
label="Xylaria 1.4 Senoa",
|
134 |
height=500,
|
135 |
-
show_copy_button=True
|
136 |
-
value=chat_starters
|
137 |
)
|
138 |
|
139 |
# Input row with improved layout
|
@@ -190,4 +183,4 @@ def main():
|
|
190 |
)
|
191 |
|
192 |
if __name__ == "__main__":
|
193 |
-
main()
|
|
|
120 |
}
|
121 |
"""
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
with gr.Blocks(theme='soft', css=custom_css) as demo:
|
124 |
# Chat interface with improved styling
|
125 |
with gr.Column():
|
126 |
chatbot = gr.Chatbot(
|
127 |
label="Xylaria 1.4 Senoa",
|
128 |
height=500,
|
129 |
+
show_copy_button=True
|
|
|
130 |
)
|
131 |
|
132 |
# Input row with improved layout
|
|
|
183 |
)
|
184 |
|
185 |
if __name__ == "__main__":
|
186 |
+
main()
|