apehex commited on
Commit
326fd8f
·
1 Parent(s): 9e48985

Load custom CSS styles to give a visual feedback on button click.

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio
2
  import spaces
3
 
4
  import psaiops.common.model
 
5
  import psaiops.common.tokenizer
6
  import psaiops.compose.maths.app as app
7
 
@@ -40,4 +41,4 @@ def fetch_tokenizer(device: str='cpu') -> object:
40
 
41
  demo = app.create_app(tabulate=app.update_table_data(tokenizer=fetch_tokenizer('cpu')))
42
  # demo.queue()
43
- demo.launch(theme=gradio.themes.Soft(), css=app.STYLE)
 
2
  import spaces
3
 
4
  import psaiops.common.model
5
+ import psaiops.common.style
6
  import psaiops.common.tokenizer
7
  import psaiops.compose.maths.app as app
8
 
 
41
 
42
  demo = app.create_app(tabulate=app.update_table_data(tokenizer=fetch_tokenizer('cpu')))
43
  # demo.queue()
44
+ demo.launch(theme=gradio.themes.Soft(), css=psaiops.common.style.BUTTON)