Spaces:
Running
on
Zero
Running
on
Zero
chaojiemao
commited on
Commit
•
d5ab71c
1
Parent(s):
eb38f83
Update app.py
Browse files
app.py
CHANGED
@@ -343,7 +343,6 @@ class ChatBotUI(object):
|
|
343 |
height=550,
|
344 |
type='pil',
|
345 |
interactive=False,
|
346 |
-
cache_examples=False,
|
347 |
show_download_button=True,
|
348 |
elem_id='image_viewer')
|
349 |
|
@@ -1079,6 +1078,7 @@ class ChatBotUI(object):
|
|
1079 |
],
|
1080 |
outputs=[self.chatbot, self.text, self.gallery, self.legacy_image_viewer, self.seed],
|
1081 |
examples_per_page=4,
|
|
|
1082 |
run_on_click=True)
|
1083 |
########################################
|
1084 |
def upload_image():
|
|
|
343 |
height=550,
|
344 |
type='pil',
|
345 |
interactive=False,
|
|
|
346 |
show_download_button=True,
|
347 |
elem_id='image_viewer')
|
348 |
|
|
|
1078 |
],
|
1079 |
outputs=[self.chatbot, self.text, self.gallery, self.legacy_image_viewer, self.seed],
|
1080 |
examples_per_page=4,
|
1081 |
+
cache_examples=False,
|
1082 |
run_on_click=True)
|
1083 |
########################################
|
1084 |
def upload_image():
|