Skip to content

Commit

Permalink
bring back prompt generation fields in novel builder
Browse files Browse the repository at this point in the history
  • Loading branch information
miku448 committed Feb 27, 2025
1 parent c2c7f9c commit a783071
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,15 +276,15 @@ export default function CharacterDescriptionEdit({ characterId }: { characterId?
<div className="CharacterDescriptionEdit__description__label">
<div className="CharacterDescriptionEdit__description__label-group">
<label className="Input__label">Character Prompt</label>
{/* <button
<button
className="Input__label"
onClick={() => {
dispatch(openModal({ modalType: 'characterGeneration' }));
}}
>
<BsStars />
Generate
</button> */}
</button>
</div>
<Modal
opened={GenerateCharacterModal}
Expand Down Expand Up @@ -356,7 +356,7 @@ export default function CharacterDescriptionEdit({ characterId }: { characterId?
<div className="CharacterDescriptionEdit__examples__label-group">
<label className="Input__label">Character Reference Conversation</label>
<div className={!character.card.data.description || isGenerating === true ? 'disabled' : ''}>
{/* <button
<button
className="Input__label"
disabled={!character.card.data.description || isGenerating === true}
onClick={() => {
Expand All @@ -365,7 +365,7 @@ export default function CharacterDescriptionEdit({ characterId }: { characterId?
>
<BsStars />
{isGenerating ? 'Generating...' : 'Generate'}
</button> */}
</button>
</div>
</div>
<TokenDisplayer
Expand Down

0 comments on commit a783071

Please sign in to comment.