Spaces:
Sleeping
Sleeping
Update backend/main.py
Browse files98 unmodified lines9910010110210210310410598 unmodified lines with tempfile.NamedTemporaryFile(delete=False, suffix=suffix) as temp_file: # Copy the uploaded file content to the temporary file content = await file.read() print(f"File read complete. Size: {len(contents)} bytes") print(f"File read complete. Size: {len(content)} bytes") with open(temp_file.name, "wb") as f: f.write(content) backend/main.py+1-1