Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,6 +92,7 @@ def smoldocling_entry(image: str, prompt_text: str) -> str:
|
|
| 92 |
Structured or textual content extracted from the image.
|
| 93 |
"""
|
| 94 |
# Handle Perplexity-style dicts encoded as JSON strings
|
|
|
|
| 95 |
try:
|
| 96 |
import json
|
| 97 |
maybe_json = json.loads(image)
|
|
|
|
| 92 |
Structured or textual content extracted from the image.
|
| 93 |
"""
|
| 94 |
# Handle Perplexity-style dicts encoded as JSON strings
|
| 95 |
+
print(f"Received entry: {image} prompt: {prompt_text}")
|
| 96 |
try:
|
| 97 |
import json
|
| 98 |
maybe_json = json.loads(image)
|