wangrongsheng commited on
Commit
53aef5d
·
verified ·
1 Parent(s): fbfe7fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +33 -33
app.py CHANGED
@@ -209,40 +209,40 @@ def toggle_speech_options(enable_speech):
209
  return gr.update(visible=enable_speech)
210
 
211
  with gr.Blocks(theme=style, title="Medical Sora Demo Space") as battle_page:
212
- gr.Markdown("""
213
- <div style="text-align: center; font-size: 32px; font-weight: bold; margin-bottom: 20px;">
214
- Medical Sora Demo Space🤗
215
- </div>
216
- <div style="text-align: center;">
217
- <a href="">📜 arxiv </a> |
218
- <a href="">🤗 Model Hub</a> |
219
- <a href="">🌐 Github</a> |
220
- <a href="">📦 Dataset</a>
221
- </div>
222
- <div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">
223
- ⚠️ This demo is for academic research and experiential use only.
224
- </div>
225
- """)
226
 
227
- title_markdown = """
228
- ## 📃How to use it?
229
- <div style="display: flex; justify-content: left; align-items: flex-start; text-align: left; background: linear-gradient(45deg, rgba(220,220,220, 1), rgba(255,255,255, 1)); border-radius: 10px; box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1); padding: 20px;">
230
- <div>
231
- <ul>
232
- <p style="color: black; font-weight: bold; margin-top: 10px;">
233
- <li>Input your prompt and adjust the parameters for generating the video.</li>
234
- </p>
235
- <p style="color: black; font-weight: bold; margin-bottom: 0;">
236
- <li>Click <strong>"Add Synchronized Audio"</strong> to add background sound to the generated video. (Optional) </li>
237
- </p>
238
- <p style="color: black; font-weight: bold; margin-bottom: 0;">
239
- <li>Click <strong>"Add Speech Synthesis"</strong> to add spoken language descriptions to the generated video. (Optional) </li>
240
- </p>
241
- </ul>
242
- </div>
243
- </div>
244
- """
245
- gr.Markdown(title_markdown)
246
 
247
  with gr.Row():
248
  with gr.Column():
 
209
  return gr.update(visible=enable_speech)
210
 
211
  with gr.Blocks(theme=style, title="Medical Sora Demo Space") as battle_page:
212
+ # gr.Markdown("""
213
+ # <div style="text-align: center; font-size: 32px; font-weight: bold; margin-bottom: 20px;">
214
+ # Medical Sora Demo Space🤗
215
+ # </div>
216
+ # <div style="text-align: center;">
217
+ # <a href="">📜 arxiv </a> |
218
+ # <a href="">🤗 Model Hub</a> |
219
+ # <a href="">🌐 Github</a> |
220
+ # <a href="">📦 Dataset</a>
221
+ # </div>
222
+ # <div style="text-align: center; font-size: 15px; font-weight: bold; color: red; margin-bottom: 20px;">
223
+ # ⚠️ This demo is for academic research and experiential use only.
224
+ # </div>
225
+ # """)
226
 
227
+ # title_markdown = """
228
+ # ## 📃How to use it?
229
+ # <div style="display: flex; justify-content: left; align-items: flex-start; text-align: left; background: linear-gradient(45deg, rgba(220,220,220, 1), rgba(255,255,255, 1)); border-radius: 10px; box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1); padding: 20px;">
230
+ # <div>
231
+ # <ul>
232
+ # <p style="color: black; font-weight: bold; margin-top: 10px;">
233
+ # <li>Input your prompt and adjust the parameters for generating the video.</li>
234
+ # </p>
235
+ # <p style="color: black; font-weight: bold; margin-bottom: 0;">
236
+ # <li>Click <strong>"Add Synchronized Audio"</strong> to add background sound to the generated video. (Optional) </li>
237
+ # </p>
238
+ # <p style="color: black; font-weight: bold; margin-bottom: 0;">
239
+ # <li>Click <strong>"Add Speech Synthesis"</strong> to add spoken language descriptions to the generated video. (Optional) </li>
240
+ # </p>
241
+ # </ul>
242
+ # </div>
243
+ # </div>
244
+ # """
245
+ # gr.Markdown(title_markdown)
246
 
247
  with gr.Row():
248
  with gr.Column():