chore: remove debug traces from upload_file.dspy
This commit is contained in:
parent
5bf3ef3822
commit
8ab8987776
@ -30,11 +30,6 @@ ext_l = ext.lower()
|
|||||||
# ============================================================
|
# ============================================================
|
||||||
async def ingest_doc(doc_id, kb_id, file_name, ext_l, real_path):
|
async def ingest_doc(doc_id, kb_id, file_name, ext_l, real_path):
|
||||||
db = DBPools()
|
db = DBPools()
|
||||||
# TRACE
|
|
||||||
try:
|
|
||||||
with open('/tmp/_t2_' + doc_id, 'w') as df:
|
|
||||||
df.write('db ok, reading file: ' + real_path)
|
|
||||||
except: pass
|
|
||||||
text = ''
|
text = ''
|
||||||
chunks_n = 0
|
chunks_n = 0
|
||||||
face_count = 0
|
face_count = 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user