Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -91,9 +91,9 @@ def Piper(_do):
|
|
91 |
def infer(prompt_en):
|
92 |
name = generate_random_string(12)+".png"
|
93 |
if prompt_en == "":
|
94 |
-
_do = '
|
95 |
else:
|
96 |
-
_do = f'
|
97 |
Piper(_do).images[0].save(name)
|
98 |
return name
|
99 |
|
|
|
91 |
def infer(prompt_en):
|
92 |
name = generate_random_string(12)+".png"
|
93 |
if prompt_en == "":
|
94 |
+
_do = 'photographed realistic scene'
|
95 |
else:
|
96 |
+
_do = f'photographed { prompt_en } realistic scene'
|
97 |
Piper(_do).images[0].save(name)
|
98 |
return name
|
99 |
|