edit input text
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ if st.session_state.pending_prompt:
|
|
133 |
thinking = st.empty()
|
134 |
thinking.markdown("🤖 در حال فکر کردن...")
|
135 |
|
136 |
-
response = chain.run(f'
|
137 |
answer = response.split("Helpful Answer:")[-1].strip()
|
138 |
if not answer:
|
139 |
answer = "متأسفم، اطلاعات دقیقی در این مورد ندارم."
|
|
|
133 |
thinking = st.empty()
|
134 |
thinking.markdown("🤖 در حال فکر کردن...")
|
135 |
|
136 |
+
response = chain.run(f'question:پاسخ را فقط به زبان فارسی جواب بده {st.session_state.pending_prompt}')
|
137 |
answer = response.split("Helpful Answer:")[-1].strip()
|
138 |
if not answer:
|
139 |
answer = "متأسفم، اطلاعات دقیقی در این مورد ندارم."
|