soufyane commited on
Commit
b037d16
1 Parent(s): ea299c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def analyze_text(text):
23
  # Function to process a CSV file and update results live
24
  @spaces.GPU
25
  def analyze_csv(file):
26
- df = pd.read_csv(file.name,nrows=2)
27
  texts = df['text'].tolist()
28
 
29
  results = []
 
23
  # Function to process a CSV file and update results live
24
  @spaces.GPU
25
  def analyze_csv(file):
26
+ df = pd.read_csv(file.name)
27
  texts = df['text'].tolist()
28
 
29
  results = []