Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,10 @@ myOutputs = [
|
|
15 |
|
16 |
def create(prompt):
|
17 |
chinese_translation = translator.translate(prompt, src="lb", dest="zh-cn")
|
|
|
18 |
try:
|
19 |
artwork = model.generate_image(
|
20 |
-
text_prompts=
|
21 |
style = '油画',
|
22 |
visualization=False
|
23 |
)
|
|
|
15 |
|
16 |
def create(prompt):
|
17 |
chinese_translation = translator.translate(prompt, src="lb", dest="zh-cn")
|
18 |
+
print(chinese_translation)
|
19 |
try:
|
20 |
artwork = model.generate_image(
|
21 |
+
text_prompts=chinese_translation,
|
22 |
style = '油画',
|
23 |
visualization=False
|
24 |
)
|