Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -168,7 +168,7 @@ def text_to_video_section():
|
|
| 168 |
|
| 169 |
def extract_keywords(article):
|
| 170 |
|
| 171 |
-
prompt = f"
|
| 172 |
|
| 173 |
completions = client.chat.completions.create(
|
| 174 |
model="gpt-4",
|
|
|
|
| 168 |
|
| 169 |
def extract_keywords(article):
|
| 170 |
|
| 171 |
+
prompt = f"pick out the 5 important keywords from the {article} and add .jpg at the end of the keywords. Do not provide any additional textsor explanations"
|
| 172 |
|
| 173 |
completions = client.chat.completions.create(
|
| 174 |
model="gpt-4",
|