Spaces:
Running
on
Zero
Running
on
Zero
xinjie.wang
commited on
Commit
·
8a0efc0
1
Parent(s):
ca03543
update
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks(
|
|
42 |
visible=False,
|
43 |
)
|
44 |
|
45 |
-
|
46 |
<style>
|
47 |
#img1 img {
|
48 |
object-fit: contain !important;
|
@@ -51,6 +51,7 @@ with gr.Blocks(
|
|
51 |
}
|
52 |
</style>
|
53 |
"""
|
|
|
54 |
image_prompt = gr.Image(
|
55 |
label="Input Image",
|
56 |
format="png",
|
|
|
42 |
visible=False,
|
43 |
)
|
44 |
|
45 |
+
image_css = """
|
46 |
<style>
|
47 |
#img1 img {
|
48 |
object-fit: contain !important;
|
|
|
51 |
}
|
52 |
</style>
|
53 |
"""
|
54 |
+
gr.HTML(image_css)
|
55 |
image_prompt = gr.Image(
|
56 |
label="Input Image",
|
57 |
format="png",
|