Spaces:
Sleeping
Sleeping
Surya Narayana
commited on
Commit
•
a9dc4ab
1
Parent(s):
ddc2423
Update text_to_image.py
Browse files- text_to_image.py +2 -2
text_to_image.py
CHANGED
@@ -8,14 +8,14 @@ Original file is located at
|
|
8 |
"""
|
9 |
|
10 |
# Commented out IPython magic to ensure Python compatibility.
|
11 |
-
pip install -q "openvino>=2023.1.0"
|
12 |
pip install -q --extra-index-url https://download.pytorch.org/whl/cpu "diffusers[torch]>=0.9.0"
|
13 |
pip install -q "huggingface-hub>=0.9.1"
|
14 |
pip install -q gradio
|
15 |
pip install -q transformers
|
16 |
pip install kaleido cohere openai tiktoken
|
17 |
pip install typing-extensions==3.10.0.2
|
18 |
-
pip install diffusers transformers
|
19 |
|
20 |
from diffusers import StableDiffusionPipeline
|
21 |
import gc
|
|
|
8 |
"""
|
9 |
|
10 |
# Commented out IPython magic to ensure Python compatibility.
|
11 |
+
'''pip install -q "openvino>=2023.1.0"
|
12 |
pip install -q --extra-index-url https://download.pytorch.org/whl/cpu "diffusers[torch]>=0.9.0"
|
13 |
pip install -q "huggingface-hub>=0.9.1"
|
14 |
pip install -q gradio
|
15 |
pip install -q transformers
|
16 |
pip install kaleido cohere openai tiktoken
|
17 |
pip install typing-extensions==3.10.0.2
|
18 |
+
pip install diffusers transformers'''
|
19 |
|
20 |
from diffusers import StableDiffusionPipeline
|
21 |
import gc
|