datasaur-dev commited on
Commit
79b777b
·
verified ·
1 Parent(s): 6b7d3f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -166,12 +166,9 @@ class WODAnalyzer:
166
 
167
  # Get file path
168
  file_path = cls.get_file_path(file_obj)
169
-
170
- # Process the document using the API (currently mocked)
171
- #
172
 
173
  if PRODUCTION:
174
- api_response = process_wod_document(file_path, wod_type)
175
  else:
176
  time.sleep(1) # Simulate processing time
177
  api_response = json.loads(output_test)
 
166
 
167
  # Get file path
168
  file_path = cls.get_file_path(file_obj)
 
 
 
169
 
170
  if PRODUCTION:
171
+ api_response = process_wod_document(file_path, wod_type)
172
  else:
173
  time.sleep(1) # Simulate processing time
174
  api_response = json.loads(output_test)