Spaces:
Sleeping
Sleeping
Update blueprints/summarize.py
Browse files- blueprints/summarize.py +1 -1
blueprints/summarize.py
CHANGED
|
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
| 5 |
from huggingface_hub import HfFolder
|
| 6 |
|
| 7 |
# Define the Blueprint
|
| 8 |
-
|
| 9 |
|
| 10 |
# Global cache to store the loaded model in memory
|
| 11 |
# This prevents reloading the model on every single request
|
|
|
|
| 5 |
from huggingface_hub import HfFolder
|
| 6 |
|
| 7 |
# Define the Blueprint
|
| 8 |
+
summarize_bp = Blueprint('summarize', __name__)
|
| 9 |
|
| 10 |
# Global cache to store the loaded model in memory
|
| 11 |
# This prevents reloading the model on every single request
|