ramalMr commited on
Commit
a1f8d56
·
verified ·
1 Parent(s): 838b223

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
13
 
14
  def extract_sentences_from_excel(file):
15
  df = pd.read_excel(file)
16
- text = ' '.join(df['Column_Name'].astype(str))
17
  sentences = text.split('.')
18
  sentences = [s.strip() for s in sentences if s.strip()]
19
  return sentences
 
13
 
14
  def extract_sentences_from_excel(file):
15
  df = pd.read_excel(file)
16
+ text = ' '.join(df['Unnamed: 1'].astype(str))
17
  sentences = text.split('.')
18
  sentences = [s.strip() for s in sentences if s.strip()]
19
  return sentences