Spaces:
Sleeping
Sleeping
WebashalarForML
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -134,10 +134,11 @@ def process_file():
|
|
134 |
logging.info(f"Extracted text: {extracted_text}")
|
135 |
logging.info(f"Processed images: {processed_Img}")
|
136 |
|
137 |
-
llmText = json_to_llm_str(extracted_text)
|
138 |
logging.info(f"LLM text: {llmText}")
|
139 |
|
140 |
LLMdata = Data_Extractor(llmText)
|
|
|
141 |
logging.info(f"LLM data: {LLMdata}")
|
142 |
|
143 |
except Exception as e:
|
|
|
134 |
logging.info(f"Extracted text: {extracted_text}")
|
135 |
logging.info(f"Processed images: {processed_Img}")
|
136 |
|
137 |
+
llmText = json_to_llm_str(extracted_text)
|
138 |
logging.info(f"LLM text: {llmText}")
|
139 |
|
140 |
LLMdata = Data_Extractor(llmText)
|
141 |
+
print("llm data--------->",llmText)
|
142 |
logging.info(f"LLM data: {LLMdata}")
|
143 |
|
144 |
except Exception as e:
|