Spaces:
Running
on
L40S
Running
on
L40S
remove gr.cache
Browse files- app.py +1 -1
- requirements.txt +0 -1
app.py
CHANGED
|
@@ -47,7 +47,7 @@ def setup_flash_attention():
|
|
| 47 |
setup_flash_attention()
|
| 48 |
|
| 49 |
# Load model and processor
|
| 50 |
-
@gr.cache()
|
| 51 |
def load_model():
|
| 52 |
"""Load the musicgen model and processor"""
|
| 53 |
processor = AutoProcessor.from_pretrained("facebook/musicgen-large")
|
|
|
|
| 47 |
setup_flash_attention()
|
| 48 |
|
| 49 |
# Load model and processor
|
| 50 |
+
# @gr.cache()
|
| 51 |
def load_model():
|
| 52 |
"""Load the musicgen model and processor"""
|
| 53 |
processor = AutoProcessor.from_pretrained("facebook/musicgen-large")
|
requirements.txt
CHANGED
|
@@ -7,4 +7,3 @@ thestage
|
|
| 7 |
elastic_models[nvidia]
|
| 8 |
scipy
|
| 9 |
transformers
|
| 10 |
-
gradio
|
|
|
|
| 7 |
elastic_models[nvidia]
|
| 8 |
scipy
|
| 9 |
transformers
|
|
|