Update Gradio_UI.py
Browse filesAdded examples and watermark
- Gradio_UI.py +3 -1
Gradio_UI.py
CHANGED
@@ -265,7 +265,7 @@ class GradioUI:
|
|
265 |
stored_messages = gr.State([])
|
266 |
file_uploads_log = gr.State([])
|
267 |
chatbot = gr.Chatbot(
|
268 |
-
label="
|
269 |
type="messages",
|
270 |
avatar_images=(
|
271 |
None,
|
@@ -273,6 +273,8 @@ class GradioUI:
|
|
273 |
),
|
274 |
resizeable=True,
|
275 |
scale=1,
|
|
|
|
|
276 |
)
|
277 |
# If an upload folder is provided, enable the upload feature
|
278 |
if self.file_upload_folder is not None:
|
|
|
265 |
stored_messages = gr.State([])
|
266 |
file_uploads_log = gr.State([])
|
267 |
chatbot = gr.Chatbot(
|
268 |
+
label="PokéAgent",
|
269 |
type="messages",
|
270 |
avatar_images=(
|
271 |
None,
|
|
|
273 |
),
|
274 |
resizeable=True,
|
275 |
scale=1,
|
276 |
+
watermark="Generated by PokéAgent AI",
|
277 |
+
examples=["Is it better to raise a Squirtle or a Magikarp in terms of the experience points?.","What are the types for Drowzee?","Does Bulbasaur have better initial stats than Charmander?"]
|
278 |
)
|
279 |
# If an upload folder is provided, enable the upload feature
|
280 |
if self.file_upload_folder is not None:
|