Spaces:
Running
Running
kargaranamir
commited on
Commit
•
63c41d3
1
Parent(s):
715fd06
add engine
Browse files
app.py
CHANGED
@@ -217,7 +217,7 @@ with tab2:
|
|
217 |
|
218 |
file = st.file_uploader("Upload a file", type=["txt"])
|
219 |
if file is not None:
|
220 |
-
df = pd.read_csv(file, sep="¦\t¦", header=None)
|
221 |
df.columns = ["Sentence"]
|
222 |
df.reset_index(drop=True, inplace=True)
|
223 |
|
|
|
217 |
|
218 |
file = st.file_uploader("Upload a file", type=["txt"])
|
219 |
if file is not None:
|
220 |
+
df = pd.read_csv(file, sep="¦\t¦", header=None, engine='python')
|
221 |
df.columns = ["Sentence"]
|
222 |
df.reset_index(drop=True, inplace=True)
|
223 |
|