Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ if torch.cuda.is_available():
|
|
35 |
def generate_image(prompt, ckpt="4-Step"):
|
36 |
global loaded
|
37 |
|
38 |
-
prompt =
|
39 |
|
40 |
print(prompt)
|
41 |
|
|
|
35 |
def generate_image(prompt, ckpt="4-Step"):
|
36 |
global loaded
|
37 |
|
38 |
+
prompt = str(translator.translate(prompt, 'English'))
|
39 |
|
40 |
print(prompt)
|
41 |
|