broadfield-dev commited on
Commit
7eb5701
·
verified ·
1 Parent(s): c5b8f4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def get_webpage_text(url):
21
  return "ERROR couldn't find, "+url
22
 
23
  def generate_prompt(company_name, company_html, company_descp):
24
- client = InferenceClient(model_name)
25
  system_prompt=f"""You are a Master Generative Image Prompt Writer, you know just the perfect prompt secrets for every situation
26
  Today you will be generating Company Logo's
27
  You will be given a Company Name, Description, and HTML artifacts from their website, use this to generate a sufficiently long and detailed image generation prompt to satisfy the users request, make sure that the company name is the focal point of the image
 
21
  return "ERROR couldn't find, "+url
22
 
23
  def generate_prompt(company_name, company_html, company_descp):
24
+ client = InferenceClient(models[0])
25
  system_prompt=f"""You are a Master Generative Image Prompt Writer, you know just the perfect prompt secrets for every situation
26
  Today you will be generating Company Logo's
27
  You will be given a Company Name, Description, and HTML artifacts from their website, use this to generate a sufficiently long and detailed image generation prompt to satisfy the users request, make sure that the company name is the focal point of the image