acumplid commited on
Commit
a282012
·
1 Parent(s): fa5f3b4

Adapted demo to new theme

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from AinaTheme import AinaGradioTheme
3
  from transformers import pipeline
4
  import gradio as gr
5
  from gradio.components import Textbox, Button, HighlightedText, Markdown
@@ -35,7 +35,7 @@ def clear():
35
  None,
36
  )
37
 
38
- with gr.Blocks(**AinaGradioTheme().get_kwargs()) as demo:
39
  with gr.Row():
40
  with gr.Column():
41
  gr.Markdown(
 
1
  import gradio as gr
2
+ from AinaTheme import theme
3
  from transformers import pipeline
4
  import gradio as gr
5
  from gradio.components import Textbox, Button, HighlightedText, Markdown
 
35
  None,
36
  )
37
 
38
+ with gr.Blocks(theme=theme) as demo:
39
  with gr.Row():
40
  with gr.Column():
41
  gr.Markdown(