skytnt commited on
Commit
1e9061c
1 Parent(s): 9e844ff

soft theme

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. app_onnx.py +1 -1
app.py CHANGED
@@ -400,7 +400,7 @@ if __name__ == "__main__":
400
  models[f"{name} with {lora_name} lora"] = model
401
 
402
  load_javascript()
403
- app = gr.Blocks()
404
  with app:
405
  gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Midi Composer</h1>")
406
  gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=skytnt.midi-composer&style=flat)\n\n"
 
400
  models[f"{name} with {lora_name} lora"] = model
401
 
402
  load_javascript()
403
+ app = gr.Blocks(theme=gr.themes.Soft())
404
  with app:
405
  gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Midi Composer</h1>")
406
  gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=skytnt.midi-composer&style=flat)\n\n"
app_onnx.py CHANGED
@@ -492,7 +492,7 @@ if __name__ == "__main__":
492
  models[f"{name} with {lora_name} lora"] = [model_base_path, model_token_path, tokenizer]
493
 
494
  load_javascript()
495
- app = gr.Blocks()
496
  with app:
497
  gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Midi Composer</h1>")
498
  gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=skytnt.midi-composer&style=flat)\n\n"
 
492
  models[f"{name} with {lora_name} lora"] = [model_base_path, model_token_path, tokenizer]
493
 
494
  load_javascript()
495
+ app = gr.Blocks(theme=gr.themes.Soft())
496
  with app:
497
  gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Midi Composer</h1>")
498
  gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=skytnt.midi-composer&style=flat)\n\n"