TA commited on
Commit
00b019c
·
1 Parent(s): 44a343d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -2,9 +2,11 @@ import gradio as gr
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;'>
 
2
  import os
3
  import requests
4
 
5
+
6
  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."
7
  TITLE = "Image Prompter"
8
  EXAMPLE_INPUT = "A Reflective cat between stars."
9
+
10
  html_temp = """
11
  <div style="position: absolute; top: 0; right: 0;">
12
  <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;'>