Spaces:
Runtime error
Runtime error
Commit
·
9ad6c08
1
Parent(s):
948a506
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ 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():
|
10 |
-
return pipeline('text-generation', model=model, do_sample=
|
11 |
|
12 |
col1, col2 = st.columns([2,1])
|
13 |
|
|
|
7 |
use_auth_token=True
|
8 |
@st.cache(allow_output_mutation=True, suppress_st_warning =True, show_spinner=False)
|
9 |
def get_model():
|
10 |
+
return pipeline('text-generation', model=model, do_sample=False)
|
11 |
|
12 |
col1, col2 = st.columns([2,1])
|
13 |
|