Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ pipeline = pipeline(task="translation", model="guymorlan/Shami2English")
|
|
5 |
|
6 |
st.title("Levantine Arabic to English")
|
7 |
|
8 |
-
num_translations = st.sidebar.selectbox("Number of Translations:", [1, 2, 3, 4, 5], index=
|
9 |
input_text = st.text_input("Enter Arabic text:")
|
10 |
|
11 |
if input_text:
|
|
|
5 |
|
6 |
st.title("Levantine Arabic to English")
|
7 |
|
8 |
+
num_translations = st.sidebar.selectbox("Number of Translations:", [1, 2, 3, 4, 5], index=0)
|
9 |
input_text = st.text_input("Enter Arabic text:")
|
10 |
|
11 |
if input_text:
|