mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Add Training WIP Tab
This commit is contained in:
parent
69a4a6fec5
commit
ec3d25d778
@ -1,16 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
import Img2ImgPlaceHolder from 'assets/images/image2img.png';
|
|
||||||
|
|
||||||
export const ImageToImageWIP = () => {
|
|
||||||
return (
|
|
||||||
<div className="work-in-progress txt2img-work-in-progress">
|
|
||||||
<img src={Img2ImgPlaceHolder} alt="img2img_placeholder" />
|
|
||||||
<h1>Image To Image</h1>
|
|
||||||
<p>
|
|
||||||
Image to Image is already available in the WebUI. You can access it from
|
|
||||||
the Text to Image - Advanced Options menu. A dedicated UI for Image To
|
|
||||||
Image will be released soon.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
@ -1,14 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
export default function InpaintingWIP() {
|
|
||||||
return (
|
|
||||||
<div className="work-in-progress inpainting-work-in-progress">
|
|
||||||
<h1>Inpainting</h1>
|
|
||||||
<p>
|
|
||||||
Inpainting is available as a part of the Invoke AI Command Line
|
|
||||||
Interface. A dedicated WebUI interface will be released in the near
|
|
||||||
future.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
export default function OutpaintingWIP() {
|
|
||||||
return (
|
|
||||||
<div className="work-in-progress outpainting-work-in-progress">
|
|
||||||
<h1>Outpainting</h1>
|
|
||||||
<p>
|
|
||||||
Outpainting is available as a part of the Invoke AI Command Line
|
|
||||||
Interface. A dedicated WebUI interface will be released in the near
|
|
||||||
future.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
}
|
|
@ -9,7 +9,7 @@ export const PostProcessingWIP = () => {
|
|||||||
Upscaling and Face Restoration are already available in the WebUI. You
|
Upscaling and Face Restoration are already available in the WebUI. You
|
||||||
can access them from the Advanced Options menu of the Text To Image and
|
can access them from the Advanced Options menu of the Text To Image and
|
||||||
Image To Image tabs. You can also process images directly, using the
|
Image To Image tabs. You can also process images directly, using the
|
||||||
image action buttons above the main image display.
|
image action buttons above the current image display or in the viewer.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
A dedicated UI will be released soon to facilitate more advanced post
|
A dedicated UI will be released soon to facilitate more advanced post
|
||||||
|
16
frontend/src/common/components/WorkInProgress/Training.tsx
Normal file
16
frontend/src/common/components/WorkInProgress/Training.tsx
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
export default function TrainingWIP() {
|
||||||
|
return (
|
||||||
|
<div className="work-in-progress nodes-work-in-progress">
|
||||||
|
<h1>Training</h1>
|
||||||
|
<p>
|
||||||
|
A dedicated workflow for training your own embeddings and checkpoints
|
||||||
|
using Textual Inversion and Dreambooth from the web interface. <br />
|
||||||
|
<br />
|
||||||
|
InvokeAI already supports training custom embeddings using Textual
|
||||||
|
Inversion using the main script.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
@ -26,6 +26,7 @@ import {
|
|||||||
} from 'features/gallery/store/gallerySlice';
|
} from 'features/gallery/store/gallerySlice';
|
||||||
import UnifiedCanvasIcon from 'common/icons/UnifiedCanvasIcon';
|
import UnifiedCanvasIcon from 'common/icons/UnifiedCanvasIcon';
|
||||||
import { createSelector } from '@reduxjs/toolkit';
|
import { createSelector } from '@reduxjs/toolkit';
|
||||||
|
import TrainingWIP from 'common/components/WorkInProgress/Training';
|
||||||
|
|
||||||
export const tabDict = {
|
export const tabDict = {
|
||||||
txt2img: {
|
txt2img: {
|
||||||
@ -53,6 +54,11 @@ export const tabDict = {
|
|||||||
workarea: <PostProcessingWIP />,
|
workarea: <PostProcessingWIP />,
|
||||||
tooltip: 'Post Processing',
|
tooltip: 'Post Processing',
|
||||||
},
|
},
|
||||||
|
training: {
|
||||||
|
title: <PostprocessingIcon fill={'black'} boxSize={'2.5rem'} />,
|
||||||
|
workarea: <TrainingWIP />,
|
||||||
|
tooltip: 'Training',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// Array where index maps to the key of tabDict
|
// Array where index maps to the key of tabDict
|
||||||
@ -119,6 +125,10 @@ export default function InvokeTabs() {
|
|||||||
dispatch(setActiveTab(4));
|
dispatch(setActiveTab(4));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
useHotkeys('6', () => {
|
||||||
|
dispatch(setActiveTab(5));
|
||||||
|
});
|
||||||
|
|
||||||
// Lightbox Hotkey
|
// Lightbox Hotkey
|
||||||
useHotkeys(
|
useHotkeys(
|
||||||
'z',
|
'z',
|
||||||
|
Loading…
Reference in New Issue
Block a user