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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -22,10 +22,12 @@ def get_webpage_text(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
28
- Company Name: {company_name}
 
29
  Company Description: {company_descp}
30
  HTML from Company Website: {company_html}"""
31
  prompt_in=[
 
22
 
23
  def generate_prompt(company_name, company_html, company_descp):
24
  client = InferenceClient(models[0])
25
+ output=""
26
  system_prompt=f"""You are a Master Generative Image Prompt Writer, you know just the perfect prompt secrets for every situation
27
  Today you will be generating Company Logo's
28
  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
29
+ """
30
+ prompt=f"""Company Name: {company_name}
31
  Company Description: {company_descp}
32
  HTML from Company Website: {company_html}"""
33
  prompt_in=[