GImInI commited on
Commit
dfa1740
1 Parent(s): f7f1adc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -37,6 +37,8 @@ def get_csv_file(docs):
37
 
38
 
39
  def get_json_file(docs):
 
 
40
  # UploadedFile을 임시 파일로 저장
41
  temp_dir = tempfile.TemporaryDirectory()
42
  temp_filepath = os.path.join(temp_dir.name, "temp_file.json")
 
37
 
38
 
39
  def get_json_file(docs):
40
+
41
+ import json
42
  # UploadedFile을 임시 파일로 저장
43
  temp_dir = tempfile.TemporaryDirectory()
44
  temp_filepath = os.path.join(temp_dir.name, "temp_file.json")