Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ def process_image(image, task_name):
|
|
| 108 |
if florence_model is None or florence_processor is None:
|
| 109 |
return "❌ The model has not been loaded or there is an error in the start."
|
| 110 |
else:
|
| 111 |
-
print(f"Model: {florence_model}
|
| 112 |
if image is None:
|
| 113 |
return "Please select a picture"
|
| 114 |
try:
|
|
|
|
| 108 |
if florence_model is None or florence_processor is None:
|
| 109 |
return "❌ The model has not been loaded or there is an error in the start."
|
| 110 |
else:
|
| 111 |
+
print(f"Model: {florence_model}\nProcessor: {florence_processor}")
|
| 112 |
if image is None:
|
| 113 |
return "Please select a picture"
|
| 114 |
try:
|