fantaxy commited on
Commit
780dba6
โ€ข
1 Parent(s): 91b37f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,6 +44,7 @@ footer {
44
  }
45
  """
46
 
 
47
  # ์ด๋ฏธ์ง€ ์ƒ์„ฑ์„ ์œ„ํ•œ ์˜ˆ์ œ ํ”„๋กฌํ”„ํŠธ
48
  examples = [
49
  ["A glamorous young woman with long, wavy blonde hair and smokey eye makeup, posing in a luxury hotel room. Sheโ€™s wearing a sparkly gold cocktail dress and holding up a white card with 'openfree.ai' written on it in elegant calligraphy. Soft, warm lighting creates a luxurious atmosphere. ", "q1.webp"],
@@ -85,10 +86,9 @@ with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
85
  fn=use_prompt,
86
  inputs=[],
87
  outputs=input_text,
88
- _js="(x) => x",
89
  api_name=False
90
  ).then(
91
- fn=lambda: prompt,
92
  inputs=[],
93
  outputs=input_text
94
  )
 
44
  }
45
  """
46
 
47
+
48
  # ์ด๋ฏธ์ง€ ์ƒ์„ฑ์„ ์œ„ํ•œ ์˜ˆ์ œ ํ”„๋กฌํ”„ํŠธ
49
  examples = [
50
  ["A glamorous young woman with long, wavy blonde hair and smokey eye makeup, posing in a luxury hotel room. Sheโ€™s wearing a sparkly gold cocktail dress and holding up a white card with 'openfree.ai' written on it in elegant calligraphy. Soft, warm lighting creates a luxurious atmosphere. ", "q1.webp"],
 
86
  fn=use_prompt,
87
  inputs=[],
88
  outputs=input_text,
 
89
  api_name=False
90
  ).then(
91
+ lambda x=prompt: x,
92
  inputs=[],
93
  outputs=input_text
94
  )