amisima commited on
Commit
d37720d
·
verified ·
1 Parent(s): a032fee

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1234,7 +1234,9 @@ uploaded. Images, audio and video are not stored: gradio keeps them in a tempora
1234
  visit, so a saved path would come back as a dead file.
1235
  """
1236
 
1237
- with gr.Blocks(title="MiniMax-H3 - Custom lora, GPU cost, profiles, clip stitching", theme=THEME, css=CSS) as demo:
 
 
1238
  gr.HTML(HERO)
1239
 
1240
  with gr.Row(equal_height=False):
@@ -1519,4 +1521,4 @@ with gr.Blocks(title="MiniMax-H3 - Custom lora, GPU cost, profiles, clip stitchi
1519
 
1520
 
1521
  if __name__ == "__main__":
1522
- demo.launch(show_error=True, ssr_mode=False)
 
1234
  visit, so a saved path would come back as a dead file.
1235
  """
1236
 
1237
+ # gradio 6.0 takes `theme` and `css` on launch(), not here - passing them to the constructor
1238
+ # only earns a warning and the styling is dropped.
1239
+ with gr.Blocks(title="MiniMax-H3 - Custom lora, GPU cost, profiles, clip stitching") as demo:
1240
  gr.HTML(HERO)
1241
 
1242
  with gr.Row(equal_height=False):
 
1521
 
1522
 
1523
  if __name__ == "__main__":
1524
+ demo.launch(theme=THEME, css=CSS, show_error=True, ssr_mode=False)