Update app.py
Browse files
app.py
CHANGED
|
@@ -119,12 +119,12 @@ PTI_SD_DESCRIPTION = '''
|
|
| 119 |
prompt_examples = [
|
| 120 |
"A blue jay standing on a large basket of rainbow macarons.",
|
| 121 |
"A dog looking curiously in the mirror, seeing a cat.",
|
| 122 |
-
"A robot couple fine dining with Eiffel Tower in the background.",
|
| 123 |
-
"A chrome-plated duck with a golden beak arguing with an angry turtle in a forest.",
|
| 124 |
-
"A transparent sculpture of a duck made out of glass. The sculpture is in front of a painting of a landscape.",
|
| 125 |
-
"A cute corgi lives in a house made out of sushi.",
|
| 126 |
-
"A single beam of light enter the room from the ceiling. The beam of light is illuminating an easel. On the easel there is a Rembrandt painting of a raccoon.",
|
| 127 |
-
"A photo of a Corgi dog riding a bike in Times Square. It is wearing sunglasses and a beach hat."
|
| 128 |
]
|
| 129 |
|
| 130 |
|
|
@@ -134,7 +134,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 134 |
with gr.Row():
|
| 135 |
with gr.Column():
|
| 136 |
current_model = gr.Dropdown(label="Select Model", choices=list_models, value=list_models[1])
|
| 137 |
-
text_prompt = gr.Textbox(label="Input Prompt", placeholder="Example:
|
| 138 |
text_prompt.examples = prompt_examples
|
| 139 |
with gr.Column():
|
| 140 |
negative_prompt = gr.Textbox(label="Negative Prompt (optional)", placeholder="Example: blurry, unfocused", lines=2)
|
|
|
|
| 119 |
prompt_examples = [
|
| 120 |
"A blue jay standing on a large basket of rainbow macarons.",
|
| 121 |
"A dog looking curiously in the mirror, seeing a cat.",
|
| 122 |
+
# "A robot couple fine dining with Eiffel Tower in the background.",
|
| 123 |
+
# "A chrome-plated duck with a golden beak arguing with an angry turtle in a forest.",
|
| 124 |
+
# "A transparent sculpture of a duck made out of glass. The sculpture is in front of a painting of a landscape.",
|
| 125 |
+
# "A cute corgi lives in a house made out of sushi.",
|
| 126 |
+
# "A single beam of light enter the room from the ceiling. The beam of light is illuminating an easel. On the easel there is a Rembrandt painting of a raccoon.",
|
| 127 |
+
# "A photo of a Corgi dog riding a bike in Times Square. It is wearing sunglasses and a beach hat."
|
| 128 |
]
|
| 129 |
|
| 130 |
|
|
|
|
| 134 |
with gr.Row():
|
| 135 |
with gr.Column():
|
| 136 |
current_model = gr.Dropdown(label="Select Model", choices=list_models, value=list_models[1])
|
| 137 |
+
text_prompt = gr.Textbox(label="Input Prompt", placeholder="Example: A blue jay ", lines=2)
|
| 138 |
text_prompt.examples = prompt_examples
|
| 139 |
with gr.Column():
|
| 140 |
negative_prompt = gr.Textbox(label="Negative Prompt (optional)", placeholder="Example: blurry, unfocused", lines=2)
|