norhan12 commited on
Commit
45bdf66
·
verified ·
1 Parent(s): 63aeda4
Files changed (1) hide show
  1. process_interview.py +2 -2
process_interview.py CHANGED
@@ -1161,8 +1161,8 @@ def process_interview(audio_path: str):
1161
 
1162
  logger.info(f"Processing completed for {audio_path}")
1163
  return {
1164
- 'pdf_path': pdf_path,
1165
- 'json_path': json_path
1166
  }
1167
  except Exception as e:
1168
  logger.error(f"Processing failed: {str(e)}", exc_info=True)
 
1161
 
1162
  logger.info(f"Processing completed for {audio_path}")
1163
  return {
1164
+ 'pdf_path': os.path.abspath(pdf_path), # استخدمي abspath لضمان المسار الكامل
1165
+ 'json_path': os.path.abspath(json_path)
1166
  }
1167
  except Exception as e:
1168
  logger.error(f"Processing failed: {str(e)}", exc_info=True)