Yaron Koresh commited on
Commit
370169d
·
verified ·
1 Parent(s): cc8258d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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'BACKGROUND: show an authentic {translate(prompt2,"english")}; FOREGROUND: be focused on a real {translate(prompt1,"english")}.'
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 Main Content)",
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():