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