Spaces:
Runtime error
Runtime error
Commit
·
3f065a6
1
Parent(s):
62d7b97
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ if openai_key:
|
|
26 |
|
27 |
if submitButton:
|
28 |
text = 'Image you are a {} influencer called {}, you need to write a post that promotes {} \
|
29 |
-
which targets {}. I need you to highlight these features: {}, and must include these words: {}'.format(network, influencer_name, product_name, target, product_features, must_have)
|
30 |
completion = openai.ChatCompletion.create(
|
31 |
model="gpt-3.5-turbo",
|
32 |
messages=[{"role": "user", "content": text}])
|
|
|
26 |
|
27 |
if submitButton:
|
28 |
text = 'Image you are a {} influencer called {}, you need to write a post that promotes {} \
|
29 |
+
which targets {} with emojis. I need you to highlight these features: {}, and must include these words: {}'.format(network, influencer_name, product_name, target, product_features, must_have)
|
30 |
completion = openai.ChatCompletion.create(
|
31 |
model="gpt-3.5-turbo",
|
32 |
messages=[{"role": "user", "content": text}])
|