Spaces:
Runtime error
Runtime error
abdalrahmanshahrour
commited on
Commit
•
96ce765
1
Parent(s):
779bd31
Update
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ with st.sidebar:
|
|
46 |
st.markdown("")
|
47 |
|
48 |
|
49 |
-
model = st.sidebar.selectbox('Select one', ['arabartsummarization', 'AraBART', 'auto-arabic-summarization'
|
50 |
|
51 |
|
52 |
st.sidebar.write("\n")
|
@@ -56,13 +56,8 @@ num_beams = st.sidebar.slider(
|
|
56 |
|
57 |
st.sidebar.write("\n")
|
58 |
length_penalty = st.sidebar.slider(
|
59 |
-
"Length penalty ", min_value=0.1, max_value=
|
60 |
)
|
61 |
-
st.sidebar.write("\n")
|
62 |
-
number_of_sentence = st.sidebar.slider(
|
63 |
-
"Number of sentence", min_value=1, max_value=10, value=3, step=1
|
64 |
-
)
|
65 |
-
|
66 |
st.sidebar.write("\n")
|
67 |
height = st.sidebar.slider(
|
68 |
"height", min_value=200, max_value=1000, value=350, step=20
|
|
|
46 |
st.markdown("")
|
47 |
|
48 |
|
49 |
+
model = st.sidebar.selectbox('Select one', ['arabartsummarization', 'AraBART', 'auto-arabic-summarization'],help="Model",)
|
50 |
|
51 |
|
52 |
st.sidebar.write("\n")
|
|
|
56 |
|
57 |
st.sidebar.write("\n")
|
58 |
length_penalty = st.sidebar.slider(
|
59 |
+
"Length penalty ", min_value=0.1, max_value=20.0, value=1.0, step=0.1,
|
60 |
)
|
|
|
|
|
|
|
|
|
|
|
61 |
st.sidebar.write("\n")
|
62 |
height = st.sidebar.slider(
|
63 |
"height", min_value=200, max_value=1000, value=350, step=20
|