Spaces:
Running
Running
Commit
·
2a3a424
1
Parent(s):
6775b33
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ with tab1:
|
|
160 |
# if filled_prompt!=template_prompt:
|
161 |
# res = compute(prompt, top_p=0.92, top_k=0, do_sample=True, max_length=300, min_length=0)
|
162 |
# st.code(res, language="python")
|
163 |
-
clicked = st.button("Submit", key='prompt')
|
164 |
|
165 |
with st.spinner("Please Wait..."):
|
166 |
prompt = create_instruction(in_name, in_about, in_title, in_labels, in_assignees, in_headline_type, in_headlines, in_summary)
|
|
|
160 |
# if filled_prompt!=template_prompt:
|
161 |
# res = compute(prompt, top_p=0.92, top_k=0, do_sample=True, max_length=300, min_length=0)
|
162 |
# st.code(res, language="python")
|
163 |
+
clicked = st.button("Submit", key='custom-prompt')
|
164 |
|
165 |
with st.spinner("Please Wait..."):
|
166 |
prompt = create_instruction(in_name, in_about, in_title, in_labels, in_assignees, in_headline_type, in_headlines, in_summary)
|