Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from fasttransform import Pipeline
|
|
| 9 |
|
| 10 |
|
| 11 |
# Load the trained model
|
| 12 |
-
learn = load_learner('export.pkl'
|
| 13 |
labels = learn.dls.vocab
|
| 14 |
|
| 15 |
# Initialize Groq client
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
# Load the trained model
|
| 12 |
+
learn = load_learner('export.pkl') # Optionally set safe=True for more security
|
| 13 |
labels = learn.dls.vocab
|
| 14 |
|
| 15 |
# Initialize Groq client
|