Spaces:
Paused
Paused
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",
|