Update lab/correct_output.py
Browse files- lab/correct_output.py +8 -4
lab/correct_output.py
CHANGED
@@ -76,8 +76,6 @@ def load_dataset_into_session():
|
|
76 |
except Exception as e:
|
77 |
st.error(f"Error reading uploaded file: {e}")
|
78 |
|
79 |
-
|
80 |
-
|
81 |
# Load dataset into session
|
82 |
load_dataset_into_session()
|
83 |
|
@@ -116,7 +114,7 @@ if "df" in st.session_state and llm:
|
|
116 |
except Exception as e:
|
117 |
st.error(f"Error: {e}")
|
118 |
|
119 |
-
#
|
120 |
with st.sidebar:
|
121 |
st.header("Instructions")
|
122 |
st.markdown(
|
@@ -127,4 +125,10 @@ with st.sidebar:
|
|
127 |
" - Example: 'What is the primary classification of this patent?'\n"
|
128 |
" - Example: 'Summarize the abstract of this patent.'\n"
|
129 |
"4. Enter a query to generate and view graphs based on patent attributes.\n"
|
130 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
except Exception as e:
|
77 |
st.error(f"Error reading uploaded file: {e}")
|
78 |
|
|
|
|
|
79 |
# Load dataset into session
|
80 |
load_dataset_into_session()
|
81 |
|
|
|
114 |
except Exception as e:
|
115 |
st.error(f"Error: {e}")
|
116 |
|
117 |
+
# Instructions
|
118 |
with st.sidebar:
|
119 |
st.header("Instructions")
|
120 |
st.markdown(
|
|
|
125 |
" - Example: 'What is the primary classification of this patent?'\n"
|
126 |
" - Example: 'Summarize the abstract of this patent.'\n"
|
127 |
"4. Enter a query to generate and view graphs based on patent attributes.\n"
|
128 |
+
)
|
129 |
+
st.markdown("---")
|
130 |
+
st.header("References")
|
131 |
+
st.markdown(
|
132 |
+
"1. [Chat With Your CSV File With PandasAI - Prince Krampah](https://medium.com/aimonks/chat-with-your-csv-file-with-pandasai-22232a13c7b7)"
|
133 |
+
)
|
134 |
+
|