Update app.py
Browse files
app.py
CHANGED
@@ -103,9 +103,12 @@ css="""
|
|
103 |
height: 100%
|
104 |
}
|
105 |
"""
|
|
|
106 |
with gr.Blocks(css=css) as demo:
|
107 |
with gr.Column(elem_id="col-container"):
|
108 |
-
|
|
|
|
|
109 |
|
110 |
with gr.Row():
|
111 |
prompt = gr.Text(
|
@@ -172,10 +175,9 @@ with gr.Blocks(css=css) as demo:
|
|
172 |
minimum=1,
|
173 |
maximum=100,
|
174 |
step=1,
|
175 |
-
value=
|
176 |
)
|
177 |
|
178 |
-
|
179 |
gr.Examples(
|
180 |
examples=examples,
|
181 |
fn=infer,
|
@@ -195,6 +197,6 @@ with gr.Blocks(css=css) as demo:
|
|
195 |
demo.launch(
|
196 |
server_port=7890,
|
197 |
enable_queue=True,
|
198 |
-
|
199 |
-
|
200 |
-
)
|
|
|
103 |
height: 100%
|
104 |
}
|
105 |
"""
|
106 |
+
|
107 |
with gr.Blocks(css=css) as demo:
|
108 |
with gr.Column(elem_id="col-container"):
|
109 |
+
gr.Markdown(f"""
|
110 |
+
# Kolors IP-Adapter - image reference and variations
|
111 |
+
""")
|
112 |
|
113 |
with gr.Row():
|
114 |
prompt = gr.Text(
|
|
|
175 |
minimum=1,
|
176 |
maximum=100,
|
177 |
step=1,
|
178 |
+
value=100,
|
179 |
)
|
180 |
|
|
|
181 |
gr.Examples(
|
182 |
examples=examples,
|
183 |
fn=infer,
|
|
|
197 |
demo.launch(
|
198 |
server_port=7890,
|
199 |
enable_queue=True,
|
200 |
+
max_queue=10,
|
201 |
+
api="enabled" # API를 활성화합니다.
|
202 |
+
)
|