acumplid commited on
Commit
0cfd3da
1 Parent(s): 9c9485f

Adapted demo to new theme

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  import os
3
- from AinaTheme import AinaGradioTheme
4
  from espeak_phonemizer import Phonemizer
5
  from dotenv import load_dotenv
6
 
@@ -53,7 +53,7 @@ def clean():
53
 
54
 
55
 
56
- with gr.Blocks(**AinaGradioTheme().get_kwargs()) as app:
57
 
58
  gr.Markdown(f"<h1 style='text-align: center; margin-bottom: 1rem'>{title}</h1>")
59
 
 
1
  import gradio as gr
2
  import os
3
+ from AinaTheme import theme
4
  from espeak_phonemizer import Phonemizer
5
  from dotenv import load_dotenv
6
 
 
53
 
54
 
55
 
56
+ with gr.Blocks(theme=theme) as app:
57
 
58
  gr.Markdown(f"<h1 style='text-align: center; margin-bottom: 1rem'>{title}</h1>")
59