Spaces:
Runtime error
Runtime error
Commit
·
f164167
1
Parent(s):
f512a02
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import time
|
|
3 |
from transformers import pipeline
|
4 |
import torch
|
5 |
trust_remote_code=True
|
6 |
-
st.markdown('## Text-generation gpt
|
7 |
use_auth_token=True
|
8 |
@st.cache(allow_output_mutation=True, suppress_st_warning =True, show_spinner=False)
|
9 |
def get_model():
|
@@ -26,7 +26,7 @@ with st.sidebar:
|
|
26 |
|
27 |
with col1:
|
28 |
prompt= st.text_area('Your prompt here',
|
29 |
-
'''
|
30 |
|
31 |
with col2:
|
32 |
select_model = st.radio(
|
|
|
3 |
from transformers import pipeline
|
4 |
import torch
|
5 |
trust_remote_code=True
|
6 |
+
st.markdown('## Text-generation gpt-ya from Breadlicker45')
|
7 |
use_auth_token=True
|
8 |
@st.cache(allow_output_mutation=True, suppress_st_warning =True, show_spinner=False)
|
9 |
def get_model():
|
|
|
26 |
|
27 |
with col1:
|
28 |
prompt= st.text_area('Your prompt here',
|
29 |
+
'''what is the meaning of life?''')
|
30 |
|
31 |
with col2:
|
32 |
select_model = st.radio(
|