Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,6 @@ def get_csv_file(csv_docs):
|
|
| 44 |
return csv_doc # ์ถ์ถํ ํ
์คํธ๋ฅผ ๋ฐํํฉ๋๋ค.
|
| 45 |
|
| 46 |
def get_json_file(json_docs):
|
| 47 |
-
def get_json_file(json_docs):
|
| 48 |
try:
|
| 49 |
temp_dir = tempfile.TemporaryDirectory() # ์์ ๋๋ ํ ๋ฆฌ๋ฅผ ์์ฑํฉ๋๋ค.
|
| 50 |
temp_filepath = os.path.join(temp_dir.name, "temp_file.json") # ์์ ํ์ผ ๊ฒฝ๋ก๋ฅผ ์์ฑํฉ๋๋ค.
|
|
|
|
| 44 |
return csv_doc # ์ถ์ถํ ํ
์คํธ๋ฅผ ๋ฐํํฉ๋๋ค.
|
| 45 |
|
| 46 |
def get_json_file(json_docs):
|
|
|
|
| 47 |
try:
|
| 48 |
temp_dir = tempfile.TemporaryDirectory() # ์์ ๋๋ ํ ๋ฆฌ๋ฅผ ์์ฑํฉ๋๋ค.
|
| 49 |
temp_filepath = os.path.join(temp_dir.name, "temp_file.json") # ์์ ํ์ผ ๊ฒฝ๋ก๋ฅผ ์์ฑํฉ๋๋ค.
|