Ngene787 commited on
Commit
2bbb970
·
1 Parent(s): 6a33d75

feat: add theme

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -62,7 +62,11 @@ h1 {
62
  }
63
  """
64
 
65
- with gr.Blocks(theme="apriel", css=css) as demo:
 
 
 
 
66
  gr.HTML("""
67
  <div align="center" style="margin-bottom: 20px;">
68
  <img src='/gradio_api/file=Faice.png' width="160">
@@ -77,11 +81,6 @@ with gr.Blocks(theme="apriel", css=css) as demo:
77
  </div>
78
  """)
79
  with gr.Column(elem_id="col-container"):
80
- # gr.Markdown(" # Fiace")
81
- # gr.Markdown(" ## Text2Face: Human Faces Generation with Diffusion Models")
82
- # gr.Markdown(
83
- # "[8-step distilled turbo model](https://huggingface.co/tensorart/stable-diffusion-3.5-large"
84
- # "-TurboX)")
85
  with gr.Row():
86
  prompt = gr.Text(
87
  label="Prompt",
 
62
  }
63
  """
64
 
65
+ theme = gr.themes.Ocean(
66
+ primary_hue="fuchsia",
67
+ )
68
+
69
+ with gr.Blocks(theme=theme, css=css) as demo:
70
  gr.HTML("""
71
  <div align="center" style="margin-bottom: 20px;">
72
  <img src='/gradio_api/file=Faice.png' width="160">
 
81
  </div>
82
  """)
83
  with gr.Column(elem_id="col-container"):
 
 
 
 
 
84
  with gr.Row():
85
  prompt = gr.Text(
86
  label="Prompt",