Spaces:
Build error
Build error
Update app-full.py
Browse files- app-full.py +8 -1
app-full.py
CHANGED
@@ -5,6 +5,11 @@ git clone https://huggingface.co/spaces/svjack/HiDream-ai-full && cd HiDream-ai-
|
|
5 |
|
6 |
conda install python=3.10
|
7 |
pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
python app-full.py
|
10 |
|
@@ -25,7 +30,9 @@ from transformers import BitsAndBytesConfig as TransformersBitsAndBytesConfig
|
|
25 |
|
26 |
# Constants
|
27 |
MODEL_PREFIX: str = "HiDream-ai"
|
28 |
-
LLAMA_MODEL_NAME: str = "meta-llama/Meta-Llama-3.1-8B-Instruct"
|
|
|
|
|
29 |
MODEL_PATH = "HiDream-ai/HiDream-I1-full"
|
30 |
MODEL_CONFIGS = {
|
31 |
"guidance_scale": 5.0,
|
|
|
5 |
|
6 |
conda install python=3.10
|
7 |
pip install -r requirements.txt
|
8 |
+
pip install modelscope
|
9 |
+
|
10 |
+
modelscope download LLM-Research/Meta-Llama-3.1-8B-Instruct --local_dir Meta-Llama-3.1-8B-Instruct
|
11 |
+
|
12 |
+
huggingface-cli login
|
13 |
|
14 |
python app-full.py
|
15 |
|
|
|
30 |
|
31 |
# Constants
|
32 |
MODEL_PREFIX: str = "HiDream-ai"
|
33 |
+
#LLAMA_MODEL_NAME: str = "meta-llama/Meta-Llama-3.1-8B-Instruct"
|
34 |
+
LLAMA_MODEL_NAME: str = "Meta-Llama-3.1-8B-Instruct"
|
35 |
+
|
36 |
MODEL_PATH = "HiDream-ai/HiDream-I1-full"
|
37 |
MODEL_CONFIGS = {
|
38 |
"guidance_scale": 5.0,
|