Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,7 @@ def detect_lang_ocr(img,lang):
|
|
| 14 |
tot_num = tot_num + bound[2]
|
| 15 |
out = tot_num / tot_b
|
| 16 |
except Exception as e:
|
|
|
|
| 17 |
out = e
|
| 18 |
|
| 19 |
return out
|
|
|
|
| 14 |
tot_num = tot_num + bound[2]
|
| 15 |
out = tot_num / tot_b
|
| 16 |
except Exception as e:
|
| 17 |
+
print (f"Error: {e}")
|
| 18 |
out = e
|
| 19 |
|
| 20 |
return out
|