Spaces:
Building
Building
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def analyze_sentiment_batch(articles, client):
|
|
59 |
for article in articles
|
60 |
])
|
61 |
|
62 |
-
prompt = f\"
|
63 |
|
64 |
๋ด์ค ๋ด์ฉ:
|
65 |
{combined_text}
|
@@ -73,7 +73,7 @@ def analyze_sentiment_batch(articles, client):
|
|
73 |
- [ํญ๋ชฉ1]
|
74 |
- [ํญ๋ชฉ2]
|
75 |
4. ์ข
ํฉ ํ๊ฐ: [์์ธ ์ค๋ช
]
|
76 |
-
|
77 |
|
78 |
response = client.chat.completions.create(
|
79 |
model="CohereForAI/c4ai-command-r-plus-08-2024",
|
|
|
59 |
for article in articles
|
60 |
])
|
61 |
|
62 |
+
prompt = f\"""๋ค์ ๋ด์ค ๋ชจ์์ ๋ํด ์ ๋ฐ์ ์ธ ๊ฐ์ฑ ๋ถ์์ ์ํํ์ธ์:
|
63 |
|
64 |
๋ด์ค ๋ด์ฉ:
|
65 |
{combined_text}
|
|
|
73 |
- [ํญ๋ชฉ1]
|
74 |
- [ํญ๋ชฉ2]
|
75 |
4. ์ข
ํฉ ํ๊ฐ: [์์ธ ์ค๋ช
]
|
76 |
+
"""
|
77 |
|
78 |
response = client.chat.completions.create(
|
79 |
model="CohereForAI/c4ai-command-r-plus-08-2024",
|