tori29umai commited on
Commit
fd4b740
·
verified ·
1 Parent(s): 6c68f6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -4
app.py CHANGED
@@ -1315,7 +1315,15 @@ css = make_custom_css()
1315
  block = gr.Blocks(css=css).queue()
1316
  with block:
1317
  gr.HTML("<h1 ='title'>FramePack_rotate_indoor - 室内画像回転動画生成</h1>")
1318
-
 
 
 
 
 
 
 
 
1319
  # mobile-full-widthクラスを持つレスポンシブ行を使用
1320
  with gr.Row(elem_classes="mobile-full-width"):
1321
  with gr.Column(scale=1, elem_classes="mobile-full-width"):
@@ -1412,9 +1420,13 @@ with block:
1412
  elem_id="result-video"
1413
  )
1414
 
1415
- gr.HTML("<div ='sampling_note' class='note'>注意:逆順サンプリングのため、終了動作が開始動作より先に生成されます。開始動作が動画に表示されていない場合は、しばらくお待ちください。後で生成されます。</div>")
1416
- gr.HTML("<div ='sampling_note' class='note'>Note that the ending actions will be generated before the starting actions due to the inverted sampling. If the starting action is not in the video, you just need to wait, and it will be generated later.</div>")
1417
-
 
 
 
 
1418
  # 進捗インジケーター
1419
  with gr.Group(elem_classes="progress-container"):
1420
  progress_desc = gr.Markdown('', elem_classes='no-generating-animation')
 
1315
  block = gr.Blocks(css=css).queue()
1316
  with block:
1317
  gr.HTML("<h1 ='title'>FramePack_rotate_indoor - 室内画像回転動画生成</h1>")
1318
+ gr.HTML("""
1319
+ <div style='margin-bottom:1em;'>
1320
+ <p>本アプリは、主に室内写真を『時計回り』『反時計回り』に正確に回転させることに特化しています。<br>
1321
+ 屋外の風景や物体、人物を含む画像も回転可能ですが、必ずしも意図どおりの向きに制御できない場合がありますので、あらかじめご了承ください。</p>
1322
+ <p>This app is primarily designed to rotate indoor photos accurately—either clockwise or counterclockwise.<br>
1323
+ Please note that, although it can also rotate outdoor scenes, objects, and images containing people,<br>
1324
+ it may not always achieve the exact orientation you intend.</p>
1325
+ </div>
1326
+ """)
1327
  # mobile-full-widthクラスを持つレスポンシブ行を使用
1328
  with gr.Row(elem_classes="mobile-full-width"):
1329
  with gr.Column(scale=1, elem_classes="mobile-full-width"):
 
1420
  elem_id="result-video"
1421
  )
1422
 
1423
+ gr.HTML("""
1424
+ <div id='sampling_note' class='note'>
1425
+ <p>注意:逆順サンプリングのため、終了動作が開始動作より先に生成されます。開始動作が動画に表示されていない場合は、しばらくお待ちください。後で生成されます。</p>
1426
+ <p>Note that the ending actions will be generated before the starting actions due to the inverted sampling. If the starting action is not in the video, you just need to wait, and it will be generated later.</p>
1427
+ </div>
1428
+ """)
1429
+
1430
  # 進捗インジケーター
1431
  with gr.Group(elem_classes="progress-container"):
1432
  progress_desc = gr.Markdown('', elem_classes='no-generating-animation')