Update Gradio_UI.py
Browse filesRemoved examples temporairly
- Gradio_UI.py +4 -3
Gradio_UI.py
CHANGED
|
@@ -277,9 +277,10 @@ class GradioUI:
|
|
| 277 |
"https://upload.wikimedia.org/wikipedia/commons/5/51/Pokebola-pokeball-png-0.png",
|
| 278 |
),
|
| 279 |
resizeable=True,
|
|
|
|
| 280 |
scale=1,
|
| 281 |
-
watermark="Generated by PokéAgent AI"
|
| 282 |
-
examples=examples
|
| 283 |
)
|
| 284 |
# If an upload folder is provided, enable the upload feature
|
| 285 |
if self.file_upload_folder is not None:
|
|
@@ -290,7 +291,7 @@ class GradioUI:
|
|
| 290 |
[upload_file, file_uploads_log],
|
| 291 |
[upload_status, file_uploads_log],
|
| 292 |
)
|
| 293 |
-
text_input = gr.Textbox(lines=1, label="Chat Message")
|
| 294 |
text_input.submit(
|
| 295 |
self.log_user_message,
|
| 296 |
[text_input, file_uploads_log],
|
|
|
|
| 277 |
"https://upload.wikimedia.org/wikipedia/commons/5/51/Pokebola-pokeball-png-0.png",
|
| 278 |
),
|
| 279 |
resizeable=True,
|
| 280 |
+
show_copy_button=True,
|
| 281 |
scale=1,
|
| 282 |
+
watermark="Generated by PokéAgent AI"
|
| 283 |
+
#examples=examples
|
| 284 |
)
|
| 285 |
# If an upload folder is provided, enable the upload feature
|
| 286 |
if self.file_upload_folder is not None:
|
|
|
|
| 291 |
[upload_file, file_uploads_log],
|
| 292 |
[upload_status, file_uploads_log],
|
| 293 |
)
|
| 294 |
+
text_input = gr.Textbox(lines=1, label="Chat Message",placeholder="Ask me anything about Pokémon...",)
|
| 295 |
text_input.submit(
|
| 296 |
self.log_user_message,
|
| 297 |
[text_input, file_uploads_log],
|