Spaces:
Runtime error
Runtime error
Fix Bug
Browse files- Videobook/Videobook.py +1 -1
Videobook/Videobook.py
CHANGED
@@ -29,7 +29,7 @@ class Videobook:
|
|
29 |
def generate_imgs(self, sentences, steps):
|
30 |
imgs = []
|
31 |
for sentence in sentences:
|
32 |
-
sentence = self.style + ' of ' + sentence + ', ' + self.tags
|
33 |
imgs.append(self.pipe.generate(prompt = sentence['pos'], negative_prompt = sentence['neg'], num_inference_steps = steps))
|
34 |
return imgs
|
35 |
|
|
|
29 |
def generate_imgs(self, sentences, steps):
|
30 |
imgs = []
|
31 |
for sentence in sentences:
|
32 |
+
sentence['pos'] = self.style + ' of ' + sentence['pos'] + ', ' + self.tags
|
33 |
imgs.append(self.pipe.generate(prompt = sentence['pos'], negative_prompt = sentence['neg'], num_inference_steps = steps))
|
34 |
return imgs
|
35 |
|