Spaces:
Sleeping
Sleeping
Update ocr_llm_utils.py
Browse files- ocr_llm_utils.py +1 -1
ocr_llm_utils.py
CHANGED
|
@@ -13,7 +13,7 @@ load_dotenv()
|
|
| 13 |
gcv_json_str = os.environ.get("GCV_JSON")
|
| 14 |
if gcv_json_str:
|
| 15 |
temp_path = "/tmp/gcv_temp.json"
|
| 16 |
-
with open(
|
| 17 |
f.write(gcv_json_str)
|
| 18 |
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = temp_path
|
| 19 |
|
|
|
|
| 13 |
gcv_json_str = os.environ.get("GCV_JSON")
|
| 14 |
if gcv_json_str:
|
| 15 |
temp_path = "/tmp/gcv_temp.json"
|
| 16 |
+
with open(temp_path, "w") as f:
|
| 17 |
f.write(gcv_json_str)
|
| 18 |
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = temp_path
|
| 19 |
|