Spaces:
Sleeping
Sleeping
apehex commited on
Commit ·
9e48985
1
Parent(s): 1293cc8
Fix typos
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import spaces
|
|
| 3 |
|
| 4 |
import psaiops.common.model
|
| 5 |
import psaiops.common.tokenizer
|
| 6 |
-
import psaiops.compose.
|
| 7 |
|
| 8 |
# META #########################################################################
|
| 9 |
|
|
@@ -38,6 +38,6 @@ def fetch_tokenizer(device: str='cpu') -> object:
|
|
| 38 |
|
| 39 |
# MAIN #########################################################################
|
| 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)
|
|
|
|
| 3 |
|
| 4 |
import psaiops.common.model
|
| 5 |
import psaiops.common.tokenizer
|
| 6 |
+
import psaiops.compose.maths.app as app
|
| 7 |
|
| 8 |
# META #########################################################################
|
| 9 |
|
|
|
|
| 38 |
|
| 39 |
# MAIN #########################################################################
|
| 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)
|