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