umang018 commited on
Commit
313b807
·
verified ·
1 Parent(s): a72bbed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ emotion_labels = ["admiration", "amusement", "anger", "annoyance", "approval",
22
  "neutral"]
23
 
24
  # Function to classify emotions in batches
25
- def classify_emotions_in_batches(texts, batch_size=32):
26
  results = []
27
  start_time = time.time()
28
  for i in range(0, len(texts), batch_size):
 
22
  "neutral"]
23
 
24
  # Function to classify emotions in batches
25
+ def classify_emotions_in_batches(texts, batch_size=1024):
26
  results = []
27
  start_time = time.time()
28
  for i in range(0, len(texts), batch_size):