ukisai commited on
Commit
86ee2f0
·
verified ·
1 Parent(s): 820deef

Center model footer notices

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -129,7 +129,7 @@ FOOTER = """
129
  CSS = """
130
  .flash-header { text-align: center; max-width: 720px; margin: 0 auto; }
131
  .flash-header h1 { margin-bottom: 0.25em; }
132
- .flash-footer { font-size: 0.9em; opacity: 0.8; text-align: center; margin: 0.5em auto 0; max-width: 720px; }
133
  """
134
 
135
  with gr.Blocks(title="Swift 1.5 Flash Next", fill_height=True) as demo:
@@ -171,7 +171,7 @@ with gr.Blocks(title="Swift 1.5 Flash Next", fill_height=True) as demo:
171
  cache_examples=False,
172
  fill_height=True,
173
  )
174
- gr.HTML(FOOTER)
175
 
176
  if __name__ == "__main__":
177
  demo.queue(default_concurrency_limit=CONCURRENCY).launch(theme=gr.themes.Soft(primary_hue="orange"), css=CSS)
 
129
  CSS = """
130
  .flash-header { text-align: center; max-width: 720px; margin: 0 auto; }
131
  .flash-header h1 { margin-bottom: 0.25em; }
132
+ #model-footer p { font-size: 0.9em; opacity: 0.8; text-align: center; margin: 0.5em auto 0; max-width: 720px; overflow-wrap: anywhere; }
133
  """
134
 
135
  with gr.Blocks(title="Swift 1.5 Flash Next", fill_height=True) as demo:
 
171
  cache_examples=False,
172
  fill_height=True,
173
  )
174
+ gr.HTML(FOOTER, elem_id="model-footer")
175
 
176
  if __name__ == "__main__":
177
  demo.queue(default_concurrency_limit=CONCURRENCY).launch(theme=gr.themes.Soft(primary_hue="orange"), css=CSS)