Spaces:
Running
Running
broadfield-dev
commited on
Update app.py
Browse files
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(
|
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
|