Spaces:
Runtime error
Runtime error
Commit
·
1200764
1
Parent(s):
4e6f33f
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
import time
|
| 3 |
from transformers import pipeline
|
| 4 |
import torch
|
| 5 |
-
|
| 6 |
st.markdown('## Text-generation OPT from Facebook')
|
| 7 |
|
| 8 |
@st.cache(allow_output_mutation=True, suppress_st_warning =True, show_spinner=False)
|
|
|
|
| 2 |
import time
|
| 3 |
from transformers import pipeline
|
| 4 |
import torch
|
| 5 |
+
trust_remote_code=True
|
| 6 |
st.markdown('## Text-generation OPT from Facebook')
|
| 7 |
|
| 8 |
@st.cache(allow_output_mutation=True, suppress_st_warning =True, show_spinner=False)
|