Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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)
|