Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import json
|
|
| 8 |
@st.cache(allow_output_mutation=True)
|
| 9 |
def load_pipeline(model_ckpt, device):
|
| 10 |
pipe = pipeline('text-generation', model=model_ckpt, device=device)
|
| 11 |
-
return
|
| 12 |
|
| 13 |
@st.cache()
|
| 14 |
def load_examples():
|
|
|
|
| 8 |
@st.cache(allow_output_mutation=True)
|
| 9 |
def load_pipeline(model_ckpt, device):
|
| 10 |
pipe = pipeline('text-generation', model=model_ckpt, device=device)
|
| 11 |
+
return pipe
|
| 12 |
|
| 13 |
@st.cache()
|
| 14 |
def load_examples():
|