Etash Guha
commited on
Commit
·
14324aa
1
Parent(s):
01d0766
some small changes
Browse files
app.py
CHANGED
|
@@ -40,9 +40,9 @@ tree_depth = parameters_section.number_input("Tree Depth", min_value=1, max_valu
|
|
| 40 |
iterations = parameters_section.number_input("Iterations", min_value=1, max_value=4, value=2)
|
| 41 |
sidebar.markdown('<hr style="margin-top: 0.5rem; margin-bottom: 0.5rem;">', unsafe_allow_html=True)
|
| 42 |
|
| 43 |
-
with sidebar:
|
| 44 |
-
|
| 45 |
-
|
| 46 |
|
| 47 |
runtime_messages = []
|
| 48 |
|
|
@@ -81,9 +81,9 @@ def run_querry():
|
|
| 81 |
response = lats_main(args)
|
| 82 |
|
| 83 |
sys.stdout = old_stdout
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
|
| 88 |
return response
|
| 89 |
|
|
|
|
| 40 |
iterations = parameters_section.number_input("Iterations", min_value=1, max_value=4, value=2)
|
| 41 |
sidebar.markdown('<hr style="margin-top: 0.5rem; margin-bottom: 0.5rem;">', unsafe_allow_html=True)
|
| 42 |
|
| 43 |
+
# with sidebar:
|
| 44 |
+
# runtime_container = st.container()
|
| 45 |
+
# runtime_container.empty()
|
| 46 |
|
| 47 |
runtime_messages = []
|
| 48 |
|
|
|
|
| 81 |
response = lats_main(args)
|
| 82 |
|
| 83 |
sys.stdout = old_stdout
|
| 84 |
+
runtime_container.write("Response fetched.")
|
| 85 |
+
chat_col.markdown('<hr style="margin-top: 0.5rem; margin-bottom: 0.5rem;">', unsafe_allow_html=True)
|
| 86 |
+
chat_col.write(f"```python\n{response} \n")
|
| 87 |
|
| 88 |
return response
|
| 89 |
|