Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def generate_code_threads(
|
|
74 |
@st.cache(show_spinner=False)
|
75 |
def generate_teaser(gen_prompt):
|
76 |
generations = []
|
77 |
-
generate_code(generations, "CodeParrot", gen_prompt,
|
78 |
return generations[0]["CodeParrot"]
|
79 |
|
80 |
st.set_page_config(page_icon=":laptop:", layout="wide")
|
|
|
74 |
@st.cache(show_spinner=False)
|
75 |
def generate_teaser(gen_prompt):
|
76 |
generations = []
|
77 |
+
generate_code(generations, "CodeParrot", gen_prompt, 8, 0.2, 42)
|
78 |
return generations[0]["CodeParrot"]
|
79 |
|
80 |
st.set_page_config(page_icon=":laptop:", layout="wide")
|