crcdng commited on
Commit
4d3a02b
·
1 Parent(s): d4bab1e

css reference

Browse files
Files changed (2) hide show
  1. Gradio_UI.py +2 -2
  2. styles.css +1 -1
Gradio_UI.py CHANGED
@@ -261,7 +261,7 @@ class GradioUI:
261
  def launch(self, **kwargs):
262
  import gradio as gr
263
 
264
- with gr.Blocks(fill_height=True, theme='crcdng/cyber') as demo:
265
  title=(
266
  """
267
  <center>
@@ -303,7 +303,7 @@ class GradioUI:
303
  examples=[["Tell me a joke based on the current local time"],["Given the current local time, what is a fun activity to do?"],["When asked for the current local time, add 6 hours to it. What is the current local time?"]],
304
  inputs=[text_input],
305
  )
306
- demo.launch(debug=True, share=True, allowed_paths="Cyberpunk.otf", css="styles.css", **kwargs)
307
 
308
 
309
  __all__ = ["stream_to_gradio", "GradioUI"]
 
261
  def launch(self, **kwargs):
262
  import gradio as gr
263
 
264
+ with gr.Blocks(fill_height=True, theme='crcdng/cyber', css="styles.css") as demo:
265
  title=(
266
  """
267
  <center>
 
303
  examples=[["Tell me a joke based on the current local time"],["Given the current local time, what is a fun activity to do?"],["When asked for the current local time, add 6 hours to it. What is the current local time?"]],
304
  inputs=[text_input],
305
  )
306
+ demo.launch(debug=True, share=True, allowed_paths="Cyberpunk.otf", **kwargs)
307
 
308
 
309
  __all__ = ["stream_to_gradio", "GradioUI"]
styles.css CHANGED
@@ -1,6 +1,6 @@
1
  @font-face {
2
  font-family: "Cyberpunk";
3
- src: url("/file=Cyberpunk.otf") format("otf");
4
  font-weight: Regular;
5
  font-style: normal;
6
  }
 
1
  @font-face {
2
  font-family: "Cyberpunk";
3
+ src: url("/file=/gradio_api/Cyberpunk.otf") format("otf");
4
  font-weight: Regular;
5
  font-style: normal;
6
  }