Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def generate_image(
|
|
51 |
seed = int(seed)
|
52 |
print(f'prompt:{prompt}')
|
53 |
|
54 |
-
text = str(translator.translate(prompt
|
55 |
|
56 |
generator = torch.Generator().manual_seed(seed)
|
57 |
|
|
|
51 |
seed = int(seed)
|
52 |
print(f'prompt:{prompt}')
|
53 |
|
54 |
+
text = str(translator.translate(prompt, 'English'))
|
55 |
|
56 |
generator = torch.Generator().manual_seed(seed)
|
57 |
|