Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def generate_random_string(length):
|
|
55 |
@spaces.GPU(duration=20)
|
56 |
def infer(prompt):
|
57 |
name = generate_random_string(12)+".png"
|
58 |
-
english_prompt = "
|
59 |
print(f'Final prompt: {english_prompt}')
|
60 |
image = pipe(english_prompt).images[0].save(name)
|
61 |
return name
|
|
|
55 |
@spaces.GPU(duration=20)
|
56 |
def infer(prompt):
|
57 |
name = generate_random_string(12)+".png"
|
58 |
+
english_prompt = "real fusion from " + translate(prompt,"en")
|
59 |
print(f'Final prompt: {english_prompt}')
|
60 |
image = pipe(english_prompt).images[0].save(name)
|
61 |
return name
|