Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,17 +32,8 @@ from transformers import (
|
|
| 32 |
)
|
| 33 |
from huggingface_hub import hf_hub_download
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
from geofractal.models.vae.vae_lyra import MultiModalVAE, MultiModalVAEConfig
|
| 38 |
-
LYRA_AVAILABLE = True
|
| 39 |
-
except ImportError:
|
| 40 |
-
try:
|
| 41 |
-
from geofractal.train.model.vae.vae_lyra import MultiModalVAE, MultiModalVAEConfig
|
| 42 |
-
LYRA_AVAILABLE = True
|
| 43 |
-
except ImportError:
|
| 44 |
-
print("⚠️ Lyra VAE not available - install geofractal")
|
| 45 |
-
LYRA_AVAILABLE = False
|
| 46 |
|
| 47 |
|
| 48 |
# ============================================================================
|
|
|
|
| 32 |
)
|
| 33 |
from huggingface_hub import hf_hub_download
|
| 34 |
|
| 35 |
+
from geofractal.models.vae.vae_lyra_v2 import MultiModalVAE, MultiModalVAEConfig
|
| 36 |
+
LYRA_AVAILABLE = True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
|
| 39 |
# ============================================================================
|