Spaces:
Runtime error
Runtime error
Commit
•
89a4d48
1
Parent(s):
6760910
Update contributor list order
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ description = """
|
|
15 |
* **Overall Result:** Eval loss : 1.45, Eval Perplexity : 3.141
|
16 |
* **Data:** [mC4-bn](https://huggingface.co/datasets/mc4)
|
17 |
* **Train Steps:** 250k steps
|
18 |
-
* **Contributors:**
|
19 |
* **link** [🤗 flax-community/gpt2-bengali](https://huggingface.co/flax-community/gpt2-bengali/)
|
20 |
"""
|
21 |
|
@@ -135,6 +135,10 @@ if st.button("Run"):
|
|
135 |
st.write(f'{error}')
|
136 |
else:
|
137 |
result = result[0]["generated_text"]
|
138 |
-
st.write(result.replace("\
|
|
|
|
|
139 |
st.text("English translation")
|
140 |
-
st.write(translate(result, "en", "bn").replace("\
|
|
|
|
|
|
15 |
* **Overall Result:** Eval loss : 1.45, Eval Perplexity : 3.141
|
16 |
* **Data:** [mC4-bn](https://huggingface.co/datasets/mc4)
|
17 |
* **Train Steps:** 250k steps
|
18 |
+
* **Contributors:** Khalid Saifullah, Tasmiah Tahsin Mayeesha, Ritobrata Ghosh, Ibrahim Musa, M Saiful Bari
|
19 |
* **link** [🤗 flax-community/gpt2-bengali](https://huggingface.co/flax-community/gpt2-bengali/)
|
20 |
"""
|
21 |
|
|
|
135 |
st.write(f'{error}')
|
136 |
else:
|
137 |
result = result[0]["generated_text"]
|
138 |
+
st.write(result.replace("\
|
139 |
+
", " \
|
140 |
+
"))
|
141 |
st.text("English translation")
|
142 |
+
st.write(translate(result, "en", "bn").replace("\
|
143 |
+
", " \
|
144 |
+
"))
|