Jonas Wiesli commited on
Commit
bb63de8
1 Parent(s): 8a96d59

added font

Browse files
Files changed (2) hide show
  1. app.py +5 -3
  2. style.css +3 -0
app.py CHANGED
@@ -1,11 +1,13 @@
1
  import gradio as gr
2
  import openai
3
 
4
- theme = gr.themes.Monochrome()
5
-
6
  openai.api_key = "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"
7
 
8
- with gr.Blocks(theme=theme, css=".gradio-container{background-color:#f3e8ff}.tabitem,button{background-color:#002366}") as iface:
 
 
 
 
9
  chatbot = []
10
  msg = []
11
  accusationButtons = []
 
1
  import gradio as gr
2
  import openai
3
 
 
 
4
  openai.api_key = "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"
5
 
6
+ theme = gr.themes.Monochrome()
7
+ css = "@import url(https://fonts.googleapis.com/css2?family=Silkscreen&display=swap);.gradio-container{" \
8
+ "background-color:#f3e8ff;font-family:Silkscreen}.tabitem,button{background-color:#002366}"
9
+
10
+ with gr.Blocks(theme=theme, css=css) as iface:
11
  chatbot = []
12
  msg = []
13
  accusationButtons = []
style.css CHANGED
@@ -1,5 +1,8 @@
 
 
1
  .gradio-container {
2
  background-color: #f3e8ff;
 
3
  }
4
 
5
  .tabitem, button {
 
1
+ @import url('https://fonts.googleapis.com/css2?family=Silkscreen&display=swap');
2
+
3
  .gradio-container {
4
  background-color: #f3e8ff;
5
+ font-family: "Silkscreen";
6
  }
7
 
8
  .tabitem, button {