Spaces:
Running
on
Zero
Running
on
Zero
iimmortall
commited on
Commit
โข
ced491a
1
Parent(s):
df5a6e4
fix some bugs
Browse files
app.py
CHANGED
@@ -75,9 +75,19 @@ css = """
|
|
75 |
"""
|
76 |
# max-heigh: 1500px;
|
77 |
|
78 |
-
_HEADER_ =
|
79 |
-
<
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
|
82 |
_CITE_ = r"""
|
83 |
๐ **Citation**
|
@@ -103,7 +113,7 @@ If you have any questions, feel free to open a discussion or contact us at <b>xx
|
|
103 |
|
104 |
with gr.Blocks(css=css) as demo:
|
105 |
with gr.Column(elem_id="col-container"):
|
106 |
-
gr.Markdown(
|
107 |
with gr.Row():
|
108 |
under_expo_img = gr.Image(label="UnderExposureImage", show_label=True,
|
109 |
image_mode="RGB",
|
|
|
75 |
"""
|
76 |
# max-heigh: 1500px;
|
77 |
|
78 |
+
_HEADER_ = r"""
|
79 |
+
<h1 style="text-align: center;"><b>UltraFusion</b></h1>
|
80 |
+
|
81 |
+
- This is an HDR algorithm that fuses two images with different exposures.
|
82 |
+
|
83 |
+
- This can fuse two images with a very large exposure difference, even up to 9 stops.
|
84 |
+
|
85 |
+
- The maximum resolution we support is 1500 x 1500. If the images you upload are larger than this, they will be downscaled while maintaining the original aspect ratio.
|
86 |
+
|
87 |
+
- The two input images should have the same resolution; otherwise, an error will be reported.
|
88 |
+
|
89 |
+
- This is only for internal testing. Do not share it publicly.
|
90 |
+
"""
|
91 |
|
92 |
_CITE_ = r"""
|
93 |
๐ **Citation**
|
|
|
113 |
|
114 |
with gr.Blocks(css=css) as demo:
|
115 |
with gr.Column(elem_id="col-container"):
|
116 |
+
gr.Markdown(_HEADER_)
|
117 |
with gr.Row():
|
118 |
under_expo_img = gr.Image(label="UnderExposureImage", show_label=True,
|
119 |
image_mode="RGB",
|