Spaces:
Running
on
Zero
Running
on
Zero
added more logs
Browse files- src/app.py +5 -0
src/app.py
CHANGED
@@ -129,6 +129,11 @@ def run(
|
|
129 |
max_new_tokens: int,
|
130 |
max_images: int,
|
131 |
) -> Iterator[str]:
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
messages = []
|
134 |
if system_prompt:
|
|
|
129 |
max_new_tokens: int,
|
130 |
max_images: int,
|
131 |
) -> Iterator[str]:
|
132 |
+
|
133 |
+
logger.debug(
|
134 |
+
f"Received message: {message}, history: {history}, system_prompt: {system_prompt}, "
|
135 |
+
f"max_new_tokens: {max_new_tokens}, max_images: {max_images}"
|
136 |
+
)
|
137 |
|
138 |
messages = []
|
139 |
if system_prompt:
|