Spaces:
Paused
Paused
Requirements and mdm wheel
Browse files- README.md +2 -2
- app.py +2 -0
- ml_mdm-1.0-py3-none-any.whl +0 -0
- requirements.txt +1 -0
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Matryoshka
|
| 3 |
+
emoji: 🪆
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
app.py
CHANGED
|
@@ -24,6 +24,8 @@ from ml_mdm import helpers, reader
|
|
| 24 |
from ml_mdm.config import get_arguments, get_model, get_pipeline
|
| 25 |
from ml_mdm.language_models import factory
|
| 26 |
|
|
|
|
|
|
|
| 27 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 28 |
|
| 29 |
# Download destination
|
|
|
|
| 24 |
from ml_mdm.config import get_arguments, get_model, get_pipeline
|
| 25 |
from ml_mdm.language_models import factory
|
| 26 |
|
| 27 |
+
os.system("pip install --upgrade ./ml_mdm-1.0-py3-none-any.whl")
|
| 28 |
+
|
| 29 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 30 |
|
| 31 |
# Download destination
|
ml_mdm-1.0-py3-none-any.whl
ADDED
|
Binary file (81 kB). View file
|
|
|
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
transformers
|