Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
longbinlai committed Nov 20, 2024
1 parent 8d1dcf0 commit 6c7ab62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/graphy/apps/demo_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import json
import zipfile
import uuid
import asyncio
import shutil
import logging
import copy
Expand Down Expand Up @@ -724,7 +723,7 @@ def extract():
executor = ThreadPoolWorkflowExecutor(workflow, thread_num)

def run_executor():
asyncio.run(executor.execute(pdf_files))
executor.execute(pdf_files)

# Run in a separate thread
thread = Thread(target=run_executor)
Expand Down

0 comments on commit 6c7ab62

Please sign in to comment.