Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
4d197b3
1
Parent(s):
5948818
debug
Browse files
app.py
CHANGED
@@ -134,6 +134,12 @@ def http_bot(state):
|
|
134 |
return
|
135 |
|
136 |
# Retrive prompt
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
prompt = state.messages[-1][0][0]
|
138 |
all_images = state.get_images(return_pil=True)[0]
|
139 |
pload = {"prompt": prompt, "images": f'List of {len(state.get_images())} images: {all_images}'}
|
|
|
134 |
return
|
135 |
|
136 |
# Retrive prompt
|
137 |
+
logging.info(state.messages)
|
138 |
+
logging.info("=================")
|
139 |
+
logging.info(state.messages[-1])
|
140 |
+
logging.info("=================")
|
141 |
+
logging.info(state.messages[-1][0])
|
142 |
+
logging.info("=================")
|
143 |
prompt = state.messages[-1][0][0]
|
144 |
all_images = state.get_images(return_pil=True)[0]
|
145 |
pload = {"prompt": prompt, "images": f'List of {len(state.get_images())} images: {all_images}'}
|