minor updates
Browse files
README.md
CHANGED
@@ -6,7 +6,6 @@ colorTo: purple
|
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.4.0
|
8 |
app_file: app.py
|
9 |
-
pinned: true
|
10 |
license: mit
|
11 |
disable_embedding: false
|
12 |
app_port: 7860
|
|
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.4.0
|
8 |
app_file: app.py
|
|
|
9 |
license: mit
|
10 |
disable_embedding: false
|
11 |
app_port: 7860
|
app.py
CHANGED
@@ -114,10 +114,8 @@ PTI_SD_DESCRIPTION = '''
|
|
114 |
<div id="content_align" style="margin-top: 10px;">
|
115 |
</div>
|
116 |
'''
|
117 |
-
|
118 |
# Prompt examples
|
119 |
-
prompt_examples = [
|
120 |
-
"A blue jay"
|
121 |
# "A blue jay standing on a large basket of rainbow macarons.",
|
122 |
# "A dog looking curiously in the mirror, seeing a cat.",
|
123 |
# "A robot couple fine dining with Eiffel Tower in the background.",
|
@@ -125,8 +123,8 @@ prompt_examples = [
|
|
125 |
# "A transparent sculpture of a duck made out of glass. The sculpture is in front of a painting of a landscape.",
|
126 |
# "A cute corgi lives in a house made out of sushi.",
|
127 |
# "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.",
|
128 |
-
# "A photo of a Corgi dog riding a bike in Times Square. It is wearing sunglasses and a beach hat."
|
129 |
-
|
130 |
|
131 |
|
132 |
# Creating Gradio interface
|
@@ -136,7 +134,6 @@ with gr.Blocks(css=css) as demo:
|
|
136 |
with gr.Column():
|
137 |
current_model = gr.Dropdown(label="Select Model", choices=list_models, value=list_models[1])
|
138 |
text_prompt = gr.Textbox(label="Input Prompt", placeholder="Example: A blue jay ", lines=2)
|
139 |
-
text_prompt.examples = prompt_examples
|
140 |
with gr.Column():
|
141 |
negative_prompt = gr.Textbox(label="Negative Prompt (optional)", placeholder="Example: blurry, unfocused", lines=2)
|
142 |
image_style = gr.Dropdown(label="Select Style", choices=["None style", "Cinematic", "Digital Art", "Portrait"], value="None style")
|
|
|
114 |
<div id="content_align" style="margin-top: 10px;">
|
115 |
</div>
|
116 |
'''
|
|
|
117 |
# Prompt examples
|
118 |
+
#prompt_examples = [
|
|
|
119 |
# "A blue jay standing on a large basket of rainbow macarons.",
|
120 |
# "A dog looking curiously in the mirror, seeing a cat.",
|
121 |
# "A robot couple fine dining with Eiffel Tower in the background.",
|
|
|
123 |
# "A transparent sculpture of a duck made out of glass. The sculpture is in front of a painting of a landscape.",
|
124 |
# "A cute corgi lives in a house made out of sushi.",
|
125 |
# "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.",
|
126 |
+
# "A photo of a Corgi dog riding a bike in Times Square. It is wearing sunglasses and a beach hat."]
|
127 |
+
|
128 |
|
129 |
|
130 |
# Creating Gradio interface
|
|
|
134 |
with gr.Column():
|
135 |
current_model = gr.Dropdown(label="Select Model", choices=list_models, value=list_models[1])
|
136 |
text_prompt = gr.Textbox(label="Input Prompt", placeholder="Example: A blue jay ", lines=2)
|
|
|
137 |
with gr.Column():
|
138 |
negative_prompt = gr.Textbox(label="Negative Prompt (optional)", placeholder="Example: blurry, unfocused", lines=2)
|
139 |
image_style = gr.Dropdown(label="Select Style", choices=["None style", "Cinematic", "Digital Art", "Portrait"], value="None style")
|