Spaces:
Runtime error
Runtime error
TA
commited on
Commit
·
44a343d
1
Parent(s):
a62b9ca
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,9 @@ import gradio as gr
|
|
2 |
import os
|
3 |
import requests
|
4 |
|
|
|
|
|
|
|
5 |
html_temp = """
|
6 |
<div style="position: absolute; top: 0; right: 0;">
|
7 |
<img src='https://huggingface.co/spaces/NerdN/open-gpt-Image-Prompter/blob/main/_45a03b4d-ea0f-4b81-873d-ff6b10461d52.jpg' alt='Your Image' style='width:100px;height:100px;'>
|
|
|
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 Reflective cat between stars."
|
8 |
html_temp = """
|
9 |
<div style="position: absolute; top: 0; right: 0;">
|
10 |
<img src='https://huggingface.co/spaces/NerdN/open-gpt-Image-Prompter/blob/main/_45a03b4d-ea0f-4b81-873d-ff6b10461d52.jpg' alt='Your Image' style='width:100px;height:100px;'>
|