Spaces:
Running
on
Zero
Running
on
Zero
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 = translator.translate(prompt, 'English')
|
39 |
|
40 |
print(prompt)
|
41 |
|
|
|
35 |
def generate_image(prompt, ckpt="4-Step"):
|
36 |
global loaded
|
37 |
|
38 |
+
prompt = skr(translator.translate(prompt, 'English'))
|
39 |
|
40 |
print(prompt)
|
41 |
|