Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
·
9dcb09a
1
Parent(s):
22231ac
update
Browse files
app.py
CHANGED
|
@@ -46,8 +46,14 @@ if torch.cuda.is_available():
|
|
| 46 |
else:
|
| 47 |
power_device = "CPU"
|
| 48 |
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
with gr.Row():
|
| 52 |
gr.Markdown(f"""
|
| 53 |
# Kolors-IP-Adapter-Plus
|
|
|
|
| 46 |
else:
|
| 47 |
power_device = "CPU"
|
| 48 |
|
| 49 |
+
css="""
|
| 50 |
+
#col-container {
|
| 51 |
+
margin: 0 auto;
|
| 52 |
+
max-width: 700px;
|
| 53 |
+
}
|
| 54 |
+
"""
|
| 55 |
+
|
| 56 |
+
with gr.Blocks(css=css) as demo:
|
| 57 |
with gr.Row():
|
| 58 |
gr.Markdown(f"""
|
| 59 |
# Kolors-IP-Adapter-Plus
|