alex-abb commited on
Commit
1774527
·
verified ·
1 Parent(s): b11c8cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def analyze_sentiment(text):
16
  output = query({
17
  "inputs": f'''<|begin_of_text|>
18
  <|start_header_id|>system<|end_header_id|>
19
- You're going to analyze the texts I'm going to give you and you're only going to tell me which category they belong to by answering only the words that correspond to the following categories: for posts that talk about chat models/LLM you'll return "Chatmodel/LLM", for posts that talk about image generation models you'll return "image_generation", for texts that ask for information from the community you'll return "questions".For texts about recent discoveries that don't fit into the previous categories, you'll return "other".
20
 
21
  <|eot_id|>
22
  <|start_header_id|>user<|end_header_id|>
 
16
  output = query({
17
  "inputs": f'''<|begin_of_text|>
18
  <|start_header_id|>system<|end_header_id|>
19
+ You're going to deeply analyze the texts I'm going to give you by and you're only going to tell me which category they belong to by answering only the words that correspond to the following categories: for posts that talk about chat models/LLM you'll return "Chatmodel/LLM", for posts that talk about image generation models you'll return "image_generation", for texts that ask for information from the community you'll return "questions".For texts about poeple exposing they recent discovery you'll send "other" but only if what they are talking about don't fit in the previous categories.
20
 
21
  <|eot_id|>
22
  <|start_header_id|>user<|end_header_id|>