Spaces:
Build error
Build error
Upload utils.py
Browse files
utils.py
CHANGED
@@ -36,8 +36,8 @@ def get_spacy_model():
|
|
36 |
|
37 |
@st.experimental_singleton
|
38 |
def get_flan_alpaca_xl_model():
|
39 |
-
return pipeline(model="
|
40 |
-
|
41 |
|
42 |
# Initialize models from HuggingFace
|
43 |
|
|
|
36 |
|
37 |
@st.experimental_singleton
|
38 |
def get_flan_alpaca_xl_model():
|
39 |
+
return pipeline('text2text-generation', model="./models/flan-alpaca-xl")
|
40 |
+
|
41 |
|
42 |
# Initialize models from HuggingFace
|
43 |
|