fix: placeholder text for Add model input

This commit is contained in:
blessedcoolant 2023-07-16 01:41:32 +12:00
parent e1c0ca1ab2
commit b1e16aa3db
2 changed files with 2 additions and 3 deletions

View File

@ -88,11 +88,12 @@ export default function AddModels() {
> >
<IAIMantineTextInput <IAIMantineTextInput
label="Model Location" label="Model Location"
placeholder="Provide a path to a local Diffusers model, local checkpoint / safetensors model or a HuggingFace Repo ID"
w="100%" w="100%"
{...addModelForm.getInputProps('location')} {...addModelForm.getInputProps('location')}
/> />
<IAIMantineSelect <IAIMantineSelect
label="Prediction Type (used for Stable Diffusion 2.x Models)" label="Prediction Type (for Stable Diffusion 2.x Models only)"
data={predictionSelectData} data={predictionSelectData}
defaultValue="none" defaultValue="none"
{...addModelForm.getInputProps('prediction_type')} {...addModelForm.getInputProps('prediction_type')}

View File

@ -12,8 +12,6 @@ export default function FoundModelsList() {
search_path: searchFolder ? searchFolder : '', search_path: searchFolder ? searchFolder : '',
}); });
console.log(foundModels);
const renderFoundModels = () => { const renderFoundModels = () => {
if (!searchFolder) return; if (!searchFolder) return;