Spaces:
Runtime error
Runtime error
Commit
·
c91e5a1
1
Parent(s):
63b8939
changed text
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ task_options = ['POS', 'Chunking', 'Parsing']
|
|
113 |
|
114 |
# Function to process text based on model and task
|
115 |
def process_text(model_name, task, text):
|
116 |
-
gid_list = selected_idx[0:
|
117 |
|
118 |
for gid in tqdm(gid_list, desc='Query'):
|
119 |
text = ptb[gid]['text']
|
|
|
113 |
|
114 |
# Function to process text based on model and task
|
115 |
def process_text(model_name, task, text):
|
116 |
+
gid_list = selected_idx[0:10]
|
117 |
|
118 |
for gid in tqdm(gid_list, desc='Query'):
|
119 |
text = ptb[gid]['text']
|