EditsPaarth commited on
Commit
19661f8
·
verified ·
1 Parent(s): b3567b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
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
- st.write("Data Types:")
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
- # Show the prompt sent to Groq
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")