iimmortall commited on
Commit
0374a04
·
1 Parent(s): 6c486c6

update tutorial images

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -126,16 +126,17 @@ def build_demo():
126
  with gr.Blocks(css=css) as demo:
127
  with gr.Column(elem_id="col-container"):
128
  gr.Markdown("""<h1 style="text-align: center; font-size: 32px;"><b>UltraFusion 📸✨</b></h1>""")
129
- gr.Markdown("""<h1 style="text-align: center; font-size: 24px;"><b>How to Capture Short and Long Exposure Images</b></h1>""")
 
130
  with gr.Row():
131
- gr.Image("ui/en-short.png", width=IMG_W*2//3, show_label=False, interactive=False, show_download_button=False) #, height=IMG_H*2
132
- gr.Image("ui/en-tap.png", width=IMG_W*2//3, show_label=False, interactive=False, show_download_button=False)
133
- gr.Image("ui/en-long.png", width=IMG_W*2//3, show_label=False, interactive=False, show_download_button=False)
134
-
135
  with gr.Row():
136
- gr.Markdown("""<h1 style="text-align: center; font-size: 12px;"><b>➁ Drag the ☀︎ icon downward to capture a photo with a shorter exposure.</b></h1>""")
137
- gr.Markdown("""<h1 style="text-align: center; font-size: 12px;"><b>➀ Tap the center of the camera screen to reveal focus and exposure adjustment buttons ☀︎.</b></h1>""")
138
- gr.Markdown("""<h1 style="text-align: center; font-size: 12px;"><b>➂ Drag the ☀︎ icon upward to capture a photo with a longer exposure.</b></h1>""")
139
 
140
  gr.Markdown("""<h1 style="text-align: center; font-size: 24px;"><b>Enjoy it!</b></h1>""")
141
  with gr.Row():
 
126
  with gr.Blocks(css=css) as demo:
127
  with gr.Column(elem_id="col-container"):
128
  gr.Markdown("""<h1 style="text-align: center; font-size: 32px;"><b>UltraFusion 📸✨</b></h1>""")
129
+ # gr.Markdown("""<h1 style="text-align: center; font-size: 32px;"><b>OpenImagingLab</b></h1>""")
130
+ gr.Markdown("""<h1 style="text-align: center; font-size: 24px;"><b>How do I use it?</b></h1>""")
131
  with gr.Row():
132
+ gr.Image("ui/en-short.png", width=IMG_W//3, show_label=False, interactive=False, show_download_button=False)
133
+ gr.Image("ui/en-long.png", width=IMG_W//3, show_label=False, interactive=False, show_download_button=False)
134
+ gr.Image("ui/en-run.png", width=IMG_W//3, show_label=False, interactive=False, show_download_button=False)
135
+
136
  with gr.Row():
137
+ gr.Markdown("""<h1 style="text-align: center; font-size: 12px;"><b>➀ Tap the center of the camera screen, then drag the ☀︎ icon downward to capture a photo with a shorter exposure.</b></h1>""")
138
+ gr.Markdown("""<h1 style="text-align: center; font-size: 12px;"><b>➁ Tap the center of the camera screen, then drag the ☀︎ icon upward to capture a photo with a longer exposure.</b></h1>""")
139
+ gr.Markdown("""<h1 style="text-align: center; font-size: 12px;"><b>➂ Upload the short and long exposure images, then click the 'Run' button to receive the result. </b></h1>""")
140
 
141
  gr.Markdown("""<h1 style="text-align: center; font-size: 24px;"><b>Enjoy it!</b></h1>""")
142
  with gr.Row():