Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
| 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 |
)
|