Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -180,7 +180,7 @@ def perform_acos_inference(text, dataset):
|
|
180 |
|
181 |
|
182 |
def run_demo(text, dataset, task):
|
183 |
-
if len(text
|
184 |
raise RuntimeError('Text is too long!')
|
185 |
try:
|
186 |
data = {
|
|
|
180 |
|
181 |
|
182 |
def run_demo(text, dataset, task):
|
183 |
+
if len(text) > 3000:
|
184 |
raise RuntimeError('Text is too long!')
|
185 |
try:
|
186 |
data = {
|