danial0203 commited on
Commit
382d4fc
·
verified ·
1 Parent(s): f01d587

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def process_file_and_generate_csv(input_file):
99
  with open(input_file, "rb") as f:
100
  file_content = BytesIO(f.read())
101
  else: # If input_file is neither (e.g., NamedString), it might directly hold the content
102
- file_content = BytesIO(input_file))
103
 
104
  csv_output = BytesIO()
105
  writer = csv.writer(csv_output)
 
99
  with open(input_file, "rb") as f:
100
  file_content = BytesIO(f.read())
101
  else: # If input_file is neither (e.g., NamedString), it might directly hold the content
102
+ file_content = BytesIO(input_file)
103
 
104
  csv_output = BytesIO()
105
  writer = csv.writer(csv_output)