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