Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ def clean_output(raw_output):
|
|
| 111 |
return "\n".join(cleaned_lines[:stop_idx]).strip()
|
| 112 |
|
| 113 |
# 🚀 Main analysis function
|
| 114 |
-
@spaces.GPU(duration=
|
| 115 |
def analyze_document(file, cancel_flag):
|
| 116 |
ext = os.path.splitext(file.name)[-1].lower()
|
| 117 |
|
|
|
|
| 111 |
return "\n".join(cleaned_lines[:stop_idx]).strip()
|
| 112 |
|
| 113 |
# 🚀 Main analysis function
|
| 114 |
+
@spaces.GPU(duration=60)
|
| 115 |
def analyze_document(file, cancel_flag):
|
| 116 |
ext = os.path.splitext(file.name)[-1].lower()
|
| 117 |
|