ramalMr commited on
Commit
08d8e2d
·
verified ·
1 Parent(s): d0ee1ab

Update app.py

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