iimmortall commited on
Commit
ced491a
โ€ข
1 Parent(s): df5a6e4

fix some bugs

Browse files
Files changed (1) hide show
  1. app.py +14 -4
app.py CHANGED
@@ -75,9 +75,19 @@ css = """
75
  """
76
  # max-heigh: 1500px;
77
 
78
- _HEADER_ = '''
79
- <h2><b>Official ๐Ÿค— UltraHDR Demo</b></h2><h2><a href='' target='_blank'><b>UltraHDR: xxx</b></a></h2>
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(" # UltraHDR")
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",