return omitted
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def func(file, number_of_pages, secret):
|
|
| 12 |
if secret != os.environ["ACCESS"]:
|
| 13 |
return "Wrong password, please try again"
|
| 14 |
else:
|
| 15 |
-
client.predict(file, number_of_pages)
|
| 16 |
|
| 17 |
def upload_file(file):
|
| 18 |
return file.name
|
|
|
|
| 12 |
if secret != os.environ["ACCESS"]:
|
| 13 |
return "Wrong password, please try again"
|
| 14 |
else:
|
| 15 |
+
return client.predict(file, number_of_pages)
|
| 16 |
|
| 17 |
def upload_file(file):
|
| 18 |
return file.name
|