E-slam commited on
Commit
bbc36cd
·
verified ·
1 Parent(s): 333fa0a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -3
main.py CHANGED
@@ -14,13 +14,13 @@ import subprocess
14
 
15
  gh_token = os.getenv("gh_token")
16
 
17
- url_with_token = f"https://{gh_token}@github.com/Eslam-Magdy-1297/Zillion-Parts-AI.git"
18
 
19
  os.system(f"git clone {url_with_token}")
20
 
21
  time.sleep(10)
22
 
23
- source_dir = "Zillion-Parts-AI/backend"
24
  destination_dir = "."
25
 
26
  import os
@@ -39,6 +39,6 @@ for item in os.listdir(source_dir):
39
 
40
  os.rmdir(source_dir)
41
 
42
- with open("index.py", "r") as file:
43
  code = file.read()
44
  exec(code)
 
14
 
15
  gh_token = os.getenv("gh_token")
16
 
17
+ url_with_token = f"https://{gh_token}@github.com/Eslam-Magdy-1297/ZillionParts-Pdf2Doc.git"
18
 
19
  os.system(f"git clone {url_with_token}")
20
 
21
  time.sleep(10)
22
 
23
+ source_dir = "ZillionParts-Pdf2Doc"
24
  destination_dir = "."
25
 
26
  import os
 
39
 
40
  os.rmdir(source_dir)
41
 
42
+ with open("app.py", "r") as file:
43
  code = file.read()
44
  exec(code)