path python fix
This commit is contained in:
@@ -2,7 +2,7 @@ import pandas as pd
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
||||||
file_path = os.getcwd() + 'PLU+FSMA+list+v1.0.xlsx'
|
file_path = os.path.join(os.getcwd(), 'PLU+FSMA+list+v1.0.xlsx')
|
||||||
sheet_name = 'Non FTL'
|
sheet_name = 'Non FTL'
|
||||||
new_url_base = "https://server-ifps.accurateig.com/assets/commodities/"
|
new_url_base = "https://server-ifps.accurateig.com/assets/commodities/"
|
||||||
|
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ from io import BytesIO
|
|||||||
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
||||||
|
|
||||||
# --- CONFIGURATION ---
|
# --- CONFIGURATION ---
|
||||||
JSON_FILE = os.getcwd() + 'frutas.json'
|
JSON_FILE = os.path.join(os.getcwd(), 'frutas.json')
|
||||||
OUTPUT_DIR = os.getcwd() + 'keychain_cards'
|
OUTPUT_DIR = os.path.join(os.getcwd(), 'keychain_cards')
|
||||||
IMG_CACHE_DIR = os.getcwd() + 'image_cache'
|
IMG_CACHE_DIR = os.path.join(os.getcwd(), 'image_cache')
|
||||||
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
||||||
os.makedirs(IMG_CACHE_DIR, exist_ok=True)
|
os.makedirs(IMG_CACHE_DIR, exist_ok=True)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# SekiPOS v1.0 🍫🥤
|
# SekiPOS v1.1 🍫🥤
|
||||||
|
|
||||||
A reactive POS inventory system for software engineers with a snack addiction. Features real-time UI updates, automatic product discovery via Open Food Facts, and local image caching.
|
A reactive POS inventory system for software engineers with a snack addiction. Features real-time UI updates, automatic product discovery via Open Food Facts, and local image caching.
|
||||||
|
|
||||||
@@ -84,6 +84,6 @@ python app.py
|
|||||||
- Cache user edited pictures
|
- Cache user edited pictures
|
||||||
- clear edited filed after scanning of new product
|
- clear edited filed after scanning of new product
|
||||||
|
|
||||||
## 🥼 Food Dataset
|
## 🥼 Food Datasets
|
||||||
- https://www.ifpsglobal.com/plu-codes-search
|
- https://www.ifpsglobal.com/plu-codes-search
|
||||||
- https://world.openfoodfacts.org
|
- https://world.openfoodfacts.org
|
||||||
Reference in New Issue
Block a user