Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def Piper(_do, _dont):
|
|
71 |
|
72 |
def infer(prompt1,prompt2,prompt3):
|
73 |
name = generate_random_string(12)+".png"
|
74 |
-
_do = f'
|
75 |
_dont = f'ANY usage of {translate(prompt3,"english").upper()}...'
|
76 |
image = Piper(_do, _dont).images[0].save(name)
|
77 |
return name
|
@@ -107,7 +107,7 @@ with gr.Blocks(css=css) as demo:
|
|
107 |
with gr.Row():
|
108 |
prompt1 = gr.Text(
|
109 |
max_lines=1,
|
110 |
-
placeholder="(The
|
111 |
container=False,
|
112 |
)
|
113 |
with gr.Row():
|
|
|
71 |
|
72 |
def infer(prompt1,prompt2,prompt3):
|
73 |
name = generate_random_string(12)+".png"
|
74 |
+
_do = f'Show an authentic {translate(prompt2,"english").upper()} scene, while focusing on the details, of {translate(prompt1,"english").upper()}, as content.'
|
75 |
_dont = f'ANY usage of {translate(prompt3,"english").upper()}...'
|
76 |
image = Piper(_do, _dont).images[0].save(name)
|
77 |
return name
|
|
|
107 |
with gr.Row():
|
108 |
prompt1 = gr.Text(
|
109 |
max_lines=1,
|
110 |
+
placeholder="(The Content/Details)",
|
111 |
container=False,
|
112 |
)
|
113 |
with gr.Row():
|