Spaces:
Runtime error
Runtime error
TA
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import requests
|
|
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/
|
9 |
|
10 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
11 |
HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
|
|
|
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/"
|
9 |
|
10 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
11 |
HEADERS = {"Authorization": f"Bearer {HF_TOKEN}"}
|