Spaces:
Runtime error
Runtime error
remove private repo installation
Browse files- app.py +0 -3
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -2,9 +2,6 @@
|
|
| 2 |
import os
|
| 3 |
from os.path import join as opj
|
| 4 |
|
| 5 |
-
token = os.getenv("ACCESS_TOKEN")
|
| 6 |
-
os.system(f"python -m pip install git+https://{token}@github.com/logn-2024/StableGarment.git")
|
| 7 |
-
|
| 8 |
import torch
|
| 9 |
import gradio as gr
|
| 10 |
from PIL import Image
|
|
|
|
| 2 |
import os
|
| 3 |
from os.path import join as opj
|
| 4 |
|
|
|
|
|
|
|
|
|
|
| 5 |
import torch
|
| 6 |
import gradio as gr
|
| 7 |
from PIL import Image
|
requirements.txt
CHANGED
|
@@ -7,4 +7,4 @@ Pillow
|
|
| 7 |
numpy
|
| 8 |
accelerate
|
| 9 |
intel_extension_for_pytorch
|
| 10 |
-
|
|
|
|
| 7 |
numpy
|
| 8 |
accelerate
|
| 9 |
intel_extension_for_pytorch
|
| 10 |
+
git+https://github.com/logn-2024/StableGarment.git
|