right align
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ if st.session_state.pending_prompt:
|
|
103 |
thinking_placeholder = st.empty()
|
104 |
thinking_placeholder.markdown("🤖 در حال فکر کردن...")
|
105 |
|
106 |
-
response = chain.run(f'
|
107 |
helpful_answer = response.split("Helpful Answer:")[-1]
|
108 |
if not helpful_answer.strip():
|
109 |
helpful_answer = "اطلاعات دقیقی در دسترس نیست، اما میتوانم به شما کمک کنم تا از منابع دیگر بررسی کنید."
|
|
|
103 |
thinking_placeholder = st.empty()
|
104 |
thinking_placeholder.markdown("🤖 در حال فکر کردن...")
|
105 |
|
106 |
+
response = chain.run(f'پاسخ را فقط به زبان فارسی بده. سوال: {st.session_state.pending_prompt}')
|
107 |
helpful_answer = response.split("Helpful Answer:")[-1]
|
108 |
if not helpful_answer.strip():
|
109 |
helpful_answer = "اطلاعات دقیقی در دسترس نیست، اما میتوانم به شما کمک کنم تا از منابع دیگر بررسی کنید."
|