Spaces:
Running
Running
csv
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ elif input_method == "Upload CSV File":
|
|
51 |
df_csv = pd.read_csv(uploaded_file)
|
52 |
st.write(df_csv)
|
53 |
text_column = st.selectbox("Select the column containing text", df_csv.columns)
|
54 |
-
input_text = df_csv[text_column].iloc[0] # Taking the first row as input for simplicity
|
55 |
|
56 |
|
57 |
@st.cache_resource
|
|
|
51 |
df_csv = pd.read_csv(uploaded_file)
|
52 |
st.write(df_csv)
|
53 |
text_column = st.selectbox("Select the column containing text", df_csv.columns)
|
54 |
+
# input_text = df_csv[text_column].iloc[0] # Taking the first row as input for simplicity
|
55 |
|
56 |
|
57 |
@st.cache_resource
|