Doron Adler
commited on
Commit
•
1d7dfdd
1
Parent(s):
88ce3dc
Align right
Browse files
app.py
CHANGED
@@ -116,9 +116,7 @@ if __name__ == "__main__":
|
|
116 |
top_k=int(top_k),
|
117 |
top_p=float(top_p))
|
118 |
|
119 |
-
|
120 |
#<div class="rtl" dir="rtl" style="text-align:right;">
|
121 |
-
st.markdown("<p dir=\"rtl\" style=\"text-align:right;\">", unsafe_allow_html=True)
|
122 |
-
|
123 |
-
#st.write(result)
|
124 |
-
st.markdown("</p>", unsafe_allow_html=True)
|
|
|
116 |
top_k=int(top_k),
|
117 |
top_p=float(top_p))
|
118 |
|
119 |
+
print("Done length:" + str(len(result)))
|
120 |
#<div class="rtl" dir="rtl" style="text-align:right;">
|
121 |
+
st.markdown(f"<p dir=\"rtl\" style=\"text-align:right;\"> {result} </p>", unsafe_allow_html=True)
|
122 |
+
|
|
|
|