Spaces:
Runtime error
Runtime error
init
Browse files
app.py
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
import os
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
import torch
|
| 4 |
import torch.nn as nn
|
| 5 |
import numpy as np
|
|
@@ -21,9 +25,6 @@ import gradio as gr
|
|
| 21 |
from huggingface_hub import hf_hub_download
|
| 22 |
|
| 23 |
|
| 24 |
-
# install packages for mamba
|
| 25 |
-
os.system("bash install.sh")
|
| 26 |
-
|
| 27 |
|
| 28 |
# Device on which to run the model
|
| 29 |
# Set to cuda to load on GPU
|
|
|
|
| 1 |
import os
|
| 2 |
|
| 3 |
+
# install packages for mamba
|
| 4 |
+
print("Install personal packages", flush=True)
|
| 5 |
+
os.system("bash install.sh")
|
| 6 |
+
|
| 7 |
import torch
|
| 8 |
import torch.nn as nn
|
| 9 |
import numpy as np
|
|
|
|
| 25 |
from huggingface_hub import hf_hub_download
|
| 26 |
|
| 27 |
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
# Device on which to run the model
|
| 30 |
# Set to cuda to load on GPU
|