ginipick commited on
Commit
a899d7b
ยท
verified ยท
1 Parent(s): 9023c51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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",