Spaces:
Runtime error
Runtime error
TA
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import os
|
3 |
import requests
|
4 |
|
5 |
-
SYSTEM_PROMPT = "As an
|
6 |
TITLE = "Image Prompter"
|
7 |
EXAMPLE_INPUT = "A Man Riding A Horse in Space"
|
8 |
zephyr_7b_beta = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta/"
|
|
|
2 |
import os
|
3 |
import requests
|
4 |
|
5 |
+
SYSTEM_PROMPT = "As an LLM, your job is to generate detailed prompts that start with generate the image, for image generation models based on user input. Be descriptive and specific, but also make sure your prompts are clear and concise."
|
6 |
TITLE = "Image Prompter"
|
7 |
EXAMPLE_INPUT = "A Man Riding A Horse in Space"
|
8 |
zephyr_7b_beta = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta/"
|