Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
|
|
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 |
|