Spaces:
Runtime error
Runtime error
Commit
·
32797c4
1
Parent(s):
31391be
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,6 @@ token = os.getenv("githubpublictokenclassic")
|
|
| 6 |
currentpath = "repo_directory"
|
| 7 |
if os.path.exists(currentpath):
|
| 8 |
shutil.rmtree(currentpath)
|
| 9 |
-
|
| 10 |
|
| 11 |
Repo.clone_from('https://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:x-oauth-basic@github.com/zubairahmed-ai/IndexFilesWithGPT.git', currentpath)
|
|
|
|
| 6 |
currentpath = "repo_directory"
|
| 7 |
if os.path.exists(currentpath):
|
| 8 |
shutil.rmtree(currentpath)
|
| 9 |
+
os.mkdir(currentpath)
|
| 10 |
|
| 11 |
Repo.clone_from('https://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:x-oauth-basic@github.com/zubairahmed-ai/IndexFilesWithGPT.git', currentpath)
|