Skip to content

Commit

Permalink
✨ feat(controller): add option to hide long text in tagger response
Browse files Browse the repository at this point in the history
Added `hidden_long_text` parameter to `tagger` method to control
the display of long text responses. Updated relevant method calls
to include the new parameter.
  • Loading branch information
sudoskys committed Sep 28, 2024
1 parent 3ee3c95 commit 78f32ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ async def read_a111(file: BytesIO):
logger.debug(f"Error {e}")
return []
else:
return [f"📦 Prompt: \n>{message}\n"]
return [f"**📦 Prompt**\n>{message}\n"]


async def read_comfyui(file: BytesIO):
Expand All @@ -82,7 +82,7 @@ async def read_comfyui(file: BytesIO):
logger.debug(f"Error {e}")
return []
else:
return [f"**📦 Comfyui:** \n```{parameter}```"]
return [f"**📦 Comfyui** \n```{parameter}```"]


async def read_novelai(file: BytesIO):
Expand Down

0 comments on commit 78f32ed

Please sign in to comment.