Spaces:
Sleeping
Sleeping
zahraghamari
commited on
Commit
•
1f05fb1
1
Parent(s):
32c54a3
update app.py
Browse files
app.py
CHANGED
@@ -88,8 +88,8 @@ def get_response(question):
|
|
88 |
st.header("برنامهی پرسش و پاسخ")
|
89 |
|
90 |
# Get user input and display response
|
91 |
-
input_text = st.text_input("
|
92 |
-
submit_button = st.button("
|
93 |
if submit_button:
|
94 |
response = get_response(input_text)
|
95 |
st.subheader("پاسخ")
|
|
|
88 |
st.header("برنامهی پرسش و پاسخ")
|
89 |
|
90 |
# Get user input and display response
|
91 |
+
input_text = st.text_input("سوالت را وارد کن: ", key="input")
|
92 |
+
submit_button = st.button("بپرس")
|
93 |
if submit_button:
|
94 |
response = get_response(input_text)
|
95 |
st.subheader("پاسخ")
|