Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,9 +52,8 @@ def analyze_wod(file_obj, wod_type):
|
|
| 52 |
cleanup_needed = False
|
| 53 |
|
| 54 |
# Process the document using the API
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
api_response = json.loads(output_test)
|
| 58 |
|
| 59 |
# Clean up temporary file if we created one
|
| 60 |
if cleanup_needed:
|
|
|
|
| 52 |
cleanup_needed = False
|
| 53 |
|
| 54 |
# Process the document using the API
|
| 55 |
+
api_response = process_wod_document(temp_file_path, wod_type)
|
| 56 |
+
# api_response = json.loads(output_test)
|
|
|
|
| 57 |
|
| 58 |
# Clean up temporary file if we created one
|
| 59 |
if cleanup_needed:
|