Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,8 +63,7 @@ def preprocess_dataframe(df):
|
|
63 |
def analyze_data(data, visualization_type):
|
64 |
st.subheader("Basic Analysis")
|
65 |
st.write("Shape of Data:", data.shape)
|
66 |
-
|
67 |
-
st.write(data.dtypes)
|
68 |
|
69 |
# Combine numerical and non-numerical summaries
|
70 |
numeric_data = data.select_dtypes(include=[np.number])
|
@@ -145,9 +144,7 @@ if uploaded_file is not None:
|
|
145 |
# Perform Analysis and Visualization
|
146 |
prompt = analyze_data(data, visualization_type)
|
147 |
|
148 |
-
|
149 |
-
st.subheader("Prompt Sent to Groq")
|
150 |
-
st.text(prompt)
|
151 |
|
152 |
# Chat with Groq Section
|
153 |
st.subheader("Chat with Groq")
|
|
|
63 |
def analyze_data(data, visualization_type):
|
64 |
st.subheader("Basic Analysis")
|
65 |
st.write("Shape of Data:", data.shape)
|
66 |
+
|
|
|
67 |
|
68 |
# Combine numerical and non-numerical summaries
|
69 |
numeric_data = data.select_dtypes(include=[np.number])
|
|
|
144 |
# Perform Analysis and Visualization
|
145 |
prompt = analyze_data(data, visualization_type)
|
146 |
|
147 |
+
|
|
|
|
|
148 |
|
149 |
# Chat with Groq Section
|
150 |
st.subheader("Chat with Groq")
|