Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,8 @@ with open('style.css') as f:
|
|
12 |
|
13 |
# Initialize the HuggingFace Inference Client
|
14 |
text_client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.1")
|
15 |
-
image_client = Client("Boboiazumi/animagine-xl-3.1")
|
|
|
16 |
|
17 |
def format_prompt_for_description(name, hair_color, personality, outfit_style, hobbies, favorite_food, background_story):
|
18 |
prompt = f"Create a waifu character named {name} with {hair_color} hair, a {personality} personality, and wearing a {outfit_style}. "
|
|
|
12 |
|
13 |
# Initialize the HuggingFace Inference Client
|
14 |
text_client = InferenceClient(model="mistralai/Mistral-7B-Instruct-v0.1")
|
15 |
+
#image_client = Client("Boboiazumi/animagine-xl-3.1")
|
16 |
+
image_client = Client("models/stablediffusionapi/explicit-freedom-nsfw-wai")
|
17 |
|
18 |
def format_prompt_for_description(name, hair_color, personality, outfit_style, hobbies, favorite_food, background_story):
|
19 |
prompt = f"Create a waifu character named {name} with {hair_color} hair, a {personality} personality, and wearing a {outfit_style}. "
|