Update app.py
Browse files
app.py
CHANGED
@@ -537,29 +537,8 @@ def remove_stop_words_from_lines(lines, stop_words):
|
|
537 |
cleaned_lines.append(" ".join(cleaned_words))
|
538 |
return cleaned_lines
|
539 |
|
540 |
-
st.markdown("""
|
541 |
-
<style>
|
542 |
-
@font-face {
|
543 |
-
font-family: 'BNazanin';
|
544 |
-
src: url('https://cdn.fontcdn.ir/Fonts/BNazanin.ttf') format('truetype');
|
545 |
-
}
|
546 |
-
|
547 |
-
div[data-testid="stChatInput"] {
|
548 |
-
font-family: 'BNazanin', sans-serif !important;
|
549 |
-
position: fixed;
|
550 |
-
bottom: 50px; /* مقدار پایینتر برای بالا آوردن باکس */
|
551 |
-
width: 100%;
|
552 |
-
z-index: 100;
|
553 |
-
}
|
554 |
-
|
555 |
-
input[type="text"] {
|
556 |
-
font-family: 'BNazanin', sans-serif !important;
|
557 |
-
font-size: 18px !important;
|
558 |
-
}
|
559 |
-
</style>
|
560 |
-
""", unsafe_allow_html=True)
|
561 |
-
|
562 |
query = st.chat_input("چطور میتونم کمک کنم؟")
|
|
|
563 |
if query:
|
564 |
|
565 |
thinking = st.empty()
|
|
|
537 |
cleaned_lines.append(" ".join(cleaned_words))
|
538 |
return cleaned_lines
|
539 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
540 |
query = st.chat_input("چطور میتونم کمک کنم؟")
|
541 |
+
|
542 |
if query:
|
543 |
|
544 |
thinking = st.empty()
|