Spaces:
Sleeping
Sleeping
Commit
Β·
5c949ee
1
Parent(s):
ac12105
Update app.py
Browse files
app.py
CHANGED
@@ -88,11 +88,6 @@ def compute(sample, top_p, top_k, do_sample, max_length, min_length):
|
|
88 |
|
89 |
return postprocess_text
|
90 |
|
91 |
-
# load deduplicate icon
|
92 |
-
st.markdown("[](https://huggingface.co/spaces/nafisehNik/girt-space?duplicate=true)")
|
93 |
-
|
94 |
-
# load logo
|
95 |
-
render_svg(open("assets/logo.svg").read())
|
96 |
|
97 |
# exapnd sidebar
|
98 |
st.markdown(
|
@@ -107,6 +102,9 @@ st.markdown(
|
|
107 |
|
108 |
|
109 |
with st.sidebar:
|
|
|
|
|
|
|
110 |
st.title(" π§ Settings")
|
111 |
|
112 |
with st.expander("π Issue Template Inputs", True):
|
@@ -242,6 +240,9 @@ with st.sidebar:
|
|
242 |
top_k_in = st.slider("top_k", 0, 100, 0)
|
243 |
|
244 |
|
|
|
|
|
|
|
245 |
|
246 |
prompt = create_instruction(in_name, in_about, in_title, in_labels, in_assignees, in_headline_type, in_headlines, in_summary)
|
247 |
|
|
|
88 |
|
89 |
return postprocess_text
|
90 |
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
# exapnd sidebar
|
93 |
st.markdown(
|
|
|
102 |
|
103 |
|
104 |
with st.sidebar:
|
105 |
+
# load deduplicate icon
|
106 |
+
st.markdown("[](https://huggingface.co/spaces/nafisehNik/girt-space?duplicate=true)")
|
107 |
+
|
108 |
st.title(" π§ Settings")
|
109 |
|
110 |
with st.expander("π Issue Template Inputs", True):
|
|
|
240 |
top_k_in = st.slider("top_k", 0, 100, 0)
|
241 |
|
242 |
|
243 |
+
# load logo
|
244 |
+
render_svg(open("assets/logo.svg").read())
|
245 |
+
|
246 |
|
247 |
prompt = create_instruction(in_name, in_about, in_title, in_labels, in_assignees, in_headline_type, in_headlines, in_summary)
|
248 |
|