Skip to content

Commit

Permalink
remove example because ui will display
Browse files Browse the repository at this point in the history
Jingyi committed Nov 17, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a37c017 commit 655cefb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions source/panel/image_generation.py
Original file line number Diff line number Diff line change
@@ -117,13 +117,6 @@ def get_llm_processed_prompts(initial_prompt):

conversation.prompt = sd_prompt

"""
Example:
[Positive Prompt: visually appealing, high-quality image of a big, large, muscular horse with powerful body, majestic stance, flowing mane, detailed texture, vivid color, striking photography.,
Negative Prompt: ugly, distorted, inappropriate or NSFW content,
Recommended Model List: ["sd_xl_base_1.0.safetensors"]]
"""

st.write("Wait for LLM to process the prompt...")

response = conversation.predict(input=initial_prompt)
@@ -220,7 +213,7 @@ def create_inference_job(models: List[str]):
if not set(models).issubset(set(support_model_list)):
models = default_models
st.warning(
"use default model {}\nbecause LLM recommend not in support list:\n{}".format(models, support_model_list))
"Use default model {}\nbecause LLM recommend not in support list:\n{}".format(models, support_model_list))

headers = {
"Content-Type": "application/json",

0 comments on commit 655cefb

Please sign in to comment.