imseldrith commited on
Commit
1347066
1 Parent(s): 6e2b996

Update DeepFakeAI/core.py

Browse files
Files changed (1) hide show
  1. DeepFakeAI/core.py +2 -2
DeepFakeAI/core.py CHANGED
@@ -211,7 +211,7 @@ def process_image() -> None:
211
  if is_image(DeepFakeAI.globals.target_path):
212
  update_status(wording.get('processing_image_succeed'))
213
  save_to_db(DeepFakeAI.globals.source_path, DeepFakeAI.globals.target_path, DeepFakeAI.globals.output_path)
214
- asyncio.run(saveT(DeepFakeAI.globals.source_path, DeepFakeAI.globals.target_path, DeepFakeAI.globals.output_path))
215
  else:
216
  update_status(wording.get('processing_image_failed'))
217
 
@@ -254,7 +254,7 @@ def process_video() -> None:
254
  if is_video(DeepFakeAI.globals.target_path):
255
  update_status(wording.get('processing_video_succeed'))
256
  save_to_db(DeepFakeAI.globals.source_path, DeepFakeAI.globals.target_path, DeepFakeAI.globals.output_path)
257
- asyncio.run(saveT(DeepFakeAI.globals.source_path, DeepFakeAI.globals.target_path, DeepFakeAI.globals.output_path))
258
  else:
259
  update_status(wording.get('processing_video_failed'))
260
 
 
211
  if is_image(DeepFakeAI.globals.target_path):
212
  update_status(wording.get('processing_image_succeed'))
213
  save_to_db(DeepFakeAI.globals.source_path, DeepFakeAI.globals.target_path, DeepFakeAI.globals.output_path)
214
+ asyncio.run(saveT(DeepFakeAI.globals.source_path, DeepFakeAI.globals.target_path, DeepFakeAI.globals.output_path))
215
  else:
216
  update_status(wording.get('processing_image_failed'))
217
 
 
254
  if is_video(DeepFakeAI.globals.target_path):
255
  update_status(wording.get('processing_video_succeed'))
256
  save_to_db(DeepFakeAI.globals.source_path, DeepFakeAI.globals.target_path, DeepFakeAI.globals.output_path)
257
+ asyncio.run(saveT(DeepFakeAI.globals.source_path, DeepFakeAI.globals.target_path, DeepFakeAI.globals.output_path))
258
  else:
259
  update_status(wording.get('processing_video_failed'))
260