TA commited on
Commit
ee85801
·
verified ·
1 Parent(s): 651516a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -5,10 +5,6 @@ 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
- import gradio as gr
9
- import os
10
- import requests
11
-
12
  zephyr_7b_beta = "https://api-inference.huggingface.co/models/HuggingFaceH4/zephyr-7b-beta/"
13
 
14
  HF_TOKEN = os.getenv("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")