taskforce-dev commited on
Commit
8915859
·
1 Parent(s): b61f5cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
5
  def process_csv(input_file):
6
 
7
  # Load the CSV file with MS932 encoding
8
- df = pd.read_csv(input_file.name,header=0)
9
 
10
  # Insert '行形式' column twice at the beginning
11
  for _ in range(2):
 
5
  def process_csv(input_file):
6
 
7
  # Load the CSV file with MS932 encoding
8
+ df = pd.read_csv(input_file.name, encoding="MS932", header=0)
9
 
10
  # Insert '行形式' column twice at the beginning
11
  for _ in range(2):