Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ if choice == 'টেক্সট ইনপুট':
|
|
| 109 |
|
| 110 |
if choice == 'ফাইল আপলোড (for PUBLIC use)':
|
| 111 |
uploaded_file = st.file_uploader("আপনার ফাইল নির্বাচন করুন", type='.txt')
|
| 112 |
-
if
|
| 113 |
lines = uploaded_file.read().decode('utf-8').splitlines()
|
| 114 |
|
| 115 |
for line in lines:
|
|
|
|
| 109 |
|
| 110 |
if choice == 'ফাইল আপলোড (for PUBLIC use)':
|
| 111 |
uploaded_file = st.file_uploader("আপনার ফাইল নির্বাচন করুন", type='.txt')
|
| 112 |
+
if uploaded_file is not None:
|
| 113 |
lines = uploaded_file.read().decode('utf-8').splitlines()
|
| 114 |
|
| 115 |
for line in lines:
|