Spaces:
Sleeping
Sleeping
Update backend/main.py
Browse files98 unmodified lines9910010110210310410598 unmodified lineswith tempfile.NamedTemporaryFile(delete=False, suffix=suffix) as temp_file:# Copy the uploaded file content to the temporary filecontent = await file.read()print(f"File read complete. Size: {len(contents)} bytes")with open(temp_file.name, "wb") as f:f.write(content)98 unmodified lines9910010110210310410598 unmodified lineswith tempfile.NamedTemporaryFile(delete=False, suffix=suffix) as temp_file:# Copy the uploaded file content to the temporary filecontent = await file.read()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