Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ if os.path.exists(PROMPTS_FILE):
|
|
| 13 |
with open(PROMPTS_FILE, "r") as file:
|
| 14 |
system_prompts = json.load(file)
|
| 15 |
else:
|
| 16 |
-
system_prompts = {"default": "You are a
|
| 17 |
|
| 18 |
def save_prompts():
|
| 19 |
"""Save the current system prompts to a JSON file."""
|
|
@@ -52,10 +52,11 @@ def get_prompt(name):
|
|
| 52 |
|
| 53 |
# List of available models
|
| 54 |
available_models = [
|
|
|
|
|
|
|
|
|
|
| 55 |
"Qwen/Qwen2.5-Coder-0.5B-Instruct",
|
| 56 |
"Qwen/Qwen2.5-Coder-1.5B-Instruct",
|
| 57 |
-
"HuggingFaceH4/zephyr-7b-beta",
|
| 58 |
-
"HuggingFaceH4/zephyr-7b-alpha"
|
| 59 |
]
|
| 60 |
|
| 61 |
# Gradio Interface
|
|
|
|
| 13 |
with open(PROMPTS_FILE, "r") as file:
|
| 14 |
system_prompts = json.load(file)
|
| 15 |
else:
|
| 16 |
+
system_prompts = {"default": "You are a expert visual descriptor, A prompt engineer for diffuser image generation models. Always descript a 'full-body' character from head to toe. inspired by the user input."}
|
| 17 |
|
| 18 |
def save_prompts():
|
| 19 |
"""Save the current system prompts to a JSON file."""
|
|
|
|
| 52 |
|
| 53 |
# List of available models
|
| 54 |
available_models = [
|
| 55 |
+
"aifeifei798/DarkIdol-Llama-3.1-8B-Instruct-1.2-Uncensored",
|
| 56 |
+
"HuggingFaceH4/zephyr-7b-beta",
|
| 57 |
+
"HuggingFaceH4/zephyr-7b-alpha",
|
| 58 |
"Qwen/Qwen2.5-Coder-0.5B-Instruct",
|
| 59 |
"Qwen/Qwen2.5-Coder-1.5B-Instruct",
|
|
|
|
|
|
|
| 60 |
]
|
| 61 |
|
| 62 |
# Gradio Interface
|