mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-25 16:38:55 +01:00
remove logs
This commit is contained in:
parent
d027352d79
commit
21057759de
@ -34,7 +34,6 @@ export const getSaveDirectory = async () => {
|
||||
export const KEY_CONFIG = "config";
|
||||
export const getConfig = async () => {
|
||||
const response = await fetch(`${API_URL}/app_config`);
|
||||
console.log("getConfig response", response);
|
||||
const data = await response.json();
|
||||
return data;
|
||||
};
|
||||
|
@ -31,7 +31,6 @@ export default function DrawImage({
|
||||
const [canvasHeight, setCanvasHeight] = useState(512);
|
||||
|
||||
useEffect(() => {
|
||||
console.log(imageData);
|
||||
const img = new Image();
|
||||
img.onload = () => {
|
||||
setCanvasWidth(img.width);
|
||||
@ -61,7 +60,6 @@ export default function DrawImage({
|
||||
const _handleMouseDown = (
|
||||
e: React.MouseEvent<HTMLCanvasElement, MouseEvent>
|
||||
) => {
|
||||
console.log("mouse down", e);
|
||||
|
||||
const {
|
||||
nativeEvent: { offsetX, offsetY },
|
||||
|
@ -1172,12 +1172,9 @@ function showInitImagePreview() {
|
||||
let file = initImageSelector.files[0]
|
||||
|
||||
reader.addEventListener('load', function() {
|
||||
// console.log(file.name, reader.result)
|
||||
initImagePreview.src = reader.result
|
||||
initImagePreviewContainer.style.display = 'block'
|
||||
promptStrengthContainer.style.display = 'block'
|
||||
|
||||
// maskSetting.style.display = 'block'
|
||||
})
|
||||
|
||||
if (file) {
|
||||
|
Loading…
Reference in New Issue
Block a user