broadfield-dev commited on
Commit
abb6d0f
·
verified ·
1 Parent(s): 435bed4

Update blueprints/summarize.py

Browse files
Files changed (1) hide show
  1. 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
- inference_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
 
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