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