acumplido commited on
Commit
b380c20
1 Parent(s): a41eb20

Included theme on demo

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import os
2
  import gradio as gr
3
  from gradio.components import Textbox, Button
4
- # from AinaTheme import theme
5
  from urllib.error import HTTPError
6
 
7
  from rag import RAG
@@ -58,7 +58,7 @@ def clear():
58
 
59
 
60
  def gradio_app():
61
- with gr.Blocks() as demo:
62
  with gr.Row():
63
  with gr.Column(scale=0.1):
64
  gr.Image("rag_image.jpg", elem_id="flor-banner", scale=1, height=256, width=256, show_label=False, show_download_button = False, show_share_button = False)
 
1
  import os
2
  import gradio as gr
3
  from gradio.components import Textbox, Button
4
+ from AinaTheme import theme
5
  from urllib.error import HTTPError
6
 
7
  from rag import RAG
 
58
 
59
 
60
  def gradio_app():
61
+ with gr.Blocks(theme=theme) as demo:
62
  with gr.Row():
63
  with gr.Column(scale=0.1):
64
  gr.Image("rag_image.jpg", elem_id="flor-banner", scale=1, height=256, width=256, show_label=False, show_download_button = False, show_share_button = False)