fosse commited on
Commit
2848816
·
verified ·
1 Parent(s): 40ac9b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -53,11 +53,11 @@ def newsworthiness_detection(fetch_message_from_newsweb: str, newsworthiness_pro
53
  The returned string from the fetch_message_from_newsweb function is used with the newsworthiness_prompt to define if the message is newsworthy or not
54
 
55
  Args:
56
- str: the returned message from fetch_message_from_newsweb
57
- str: newsworthiness_prompt
58
 
59
  Returns:
60
- str: A grading of newswortiness, either "HØY", "MEDIUM" or "LAV"
61
  """
62
 
63
  newsworthiness_prompt = """
 
53
  The returned string from the fetch_message_from_newsweb function is used with the newsworthiness_prompt to define if the message is newsworthy or not
54
 
55
  Args:
56
+ fetch_message_from_newsweb (str): the returned message from the fetch_message_from_newsweb function
57
+ newsworthiness_prompt (str): the prompt used to define the newsworthiness of the returned message
58
 
59
  Returns:
60
+ str: A grading of newswortiness, either "HØY", "MEDIUM" or "LAV", and a short evaluation of the decision.
61
  """
62
 
63
  newsworthiness_prompt = """