Spaces:
Build error
Build error
Commit ·
17996c7
1
Parent(s): ab9a75d
Add application file
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ def load_image(file: UploadFile = File(...)):
|
|
| 96 |
print("\n🔹 Creating a simple data structure from all OCR text")
|
| 97 |
df = pd.DataFrame({'text': all_text})
|
| 98 |
print(df.head())
|
| 99 |
-
df.to_csv("invoice_extracted_text.csv", index=False)
|
| 100 |
|
| 101 |
# Display Image with OCR Text Overlay
|
| 102 |
plt.figure(figsize=(10, 10))
|
|
|
|
| 96 |
print("\n🔹 Creating a simple data structure from all OCR text")
|
| 97 |
df = pd.DataFrame({'text': all_text})
|
| 98 |
print(df.head())
|
| 99 |
+
# df.to_csv("invoice_extracted_text.csv", index=False)
|
| 100 |
|
| 101 |
# Display Image with OCR Text Overlay
|
| 102 |
plt.figure(figsize=(10, 10))
|