Update README.md
Browse files
README.md
CHANGED
@@ -174,6 +174,17 @@ To run the script, follow these steps:
|
|
174 |
10. **Generate Output**:
|
175 |
|
176 |
```python
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
output = pipe(
|
178 |
prompt=prompt,
|
179 |
negative_prompt=negative_prompt,
|
@@ -184,6 +195,7 @@ To run the script, follow these steps:
|
|
184 |
height=768,
|
185 |
num_frames=16,
|
186 |
conditioning_frames=cn2,
|
|
|
187 |
)
|
188 |
```
|
189 |
|
|
|
174 |
10. **Generate Output**:
|
175 |
|
176 |
```python
|
177 |
+
prompt = '''
|
178 |
+
solo,Xiangling\(genshin impact\),1girl,
|
179 |
+
full body professional photograph of a stunning detailed, sharp focus, dramatic
|
180 |
+
cinematic lighting, octane render unreal engine (film grain, blurry background
|
181 |
+
'''
|
182 |
+
prompt = "solo,Xiangling\(genshin impact\),1girl,full body professional photograph of a stunning detailed"
|
183 |
+
|
184 |
+
#prompt = "solo,Xiangling\(genshin impact\),1girl"
|
185 |
+
negative_prompt = "bad quality, worst quality, jpeg artifacts, ugly"
|
186 |
+
|
187 |
+
generator = torch.Generator(device="cpu").manual_seed(0)
|
188 |
output = pipe(
|
189 |
prompt=prompt,
|
190 |
negative_prompt=negative_prompt,
|
|
|
195 |
height=768,
|
196 |
num_frames=16,
|
197 |
conditioning_frames=cn2,
|
198 |
+
generator = generator
|
199 |
)
|
200 |
```
|
201 |
|