Spaces:
Sleeping
Sleeping
apehex commited on
Commit ·
3e0d5b1
1
Parent(s): 605f97e
Load custom CSS styles to give a visual feedback on button click.
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import gradio
|
| 2 |
|
|
|
|
| 3 |
import psaiops.common.tokenizer
|
| 4 |
import psaiops.combine.app as app
|
| 5 |
|
|
@@ -10,4 +11,4 @@ _TOKENIZER = psaiops.common.tokenizer.get_tokenizer(name=app.MODEL, device='cpu'
|
|
| 10 |
# MAIN #########################################################################
|
| 11 |
|
| 12 |
demo = app.create_app(tabulate=app.update_table_data(tokenizer=_TOKENIZER))
|
| 13 |
-
demo.launch(theme=gradio.themes.Soft(), css=
|
|
|
|
| 1 |
import gradio
|
| 2 |
|
| 3 |
+
import psaiops.common.style
|
| 4 |
import psaiops.common.tokenizer
|
| 5 |
import psaiops.combine.app as app
|
| 6 |
|
|
|
|
| 11 |
# MAIN #########################################################################
|
| 12 |
|
| 13 |
demo = app.create_app(tabulate=app.update_table_data(tokenizer=_TOKENIZER))
|
| 14 |
+
demo.launch(theme=gradio.themes.Soft(), css=psaiops.common.style.BUTTON)
|