Update app.py
Browse files
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['
|
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
|