acecalisto3 commited on
Commit
81bf6d8
·
verified ·
1 Parent(s): c3b1d58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -330,7 +330,8 @@ def create_interface():
330
  json.dump(results, f, ensure_ascii=False, indent=2)
331
 
332
  summary = f"Processed {len(results)} items successfully!"
333
- return output_path, summary
 
334
  else:
335
  return None, "No valid content to process."
336
 
 
330
  json.dump(results, f, ensure_ascii=False, indent=2)
331
 
332
  summary = f"Processed {len(results)} items successfully!"
333
+ # Convert Path object to string here
334
+ return str(output_path), summary
335
  else:
336
  return None, "No valid content to process."
337