Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ with open('style.css') as f:
|
|
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("
|
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}. "
|
|
|
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("phenixrhyder/nsfw-waifu-gradio")
|
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}. "
|