Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def get_text_file(text_data):
|
|
| 37 |
return text
|
| 38 |
|
| 39 |
|
| 40 |
-
def
|
| 41 |
temp_dir = tempfile.TemporaryDirectory()
|
| 42 |
temp_filepath = os.path.join(temp_dir.name, csv_file.name)
|
| 43 |
with open(temp_filepath, "w", encoding="utf-8") as csvfile:
|
|
|
|
| 37 |
return text
|
| 38 |
|
| 39 |
|
| 40 |
+
def get_csv_file(csv_file):
|
| 41 |
temp_dir = tempfile.TemporaryDirectory()
|
| 42 |
temp_filepath = os.path.join(temp_dir.name, csv_file.name)
|
| 43 |
with open(temp_filepath, "w", encoding="utf-8") as csvfile:
|