Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def newsworthiness_detection(fetch_message_from_newsweb: str, newsworthiness_pro
|
|
| 54 |
|
| 55 |
Args:
|
| 56 |
fetch_message_from_newsweb (str): The stock market message content or a URL to the announcement.
|
| 57 |
-
newsworthiness_prompt (str):
|
| 58 |
|
| 59 |
Returns:
|
| 60 |
str: A rating of newsworthiness ("HØY", "MEDIUM", or "LAV") along with a short explanation of the decision.
|
|
|
|
| 54 |
|
| 55 |
Args:
|
| 56 |
fetch_message_from_newsweb (str): The stock market message content or a URL to the announcement.
|
| 57 |
+
newsworthiness_prompt (str): A predefined prompt {prompt_text} to assess newsworthiness of the message.
|
| 58 |
|
| 59 |
Returns:
|
| 60 |
str: A rating of newsworthiness ("HØY", "MEDIUM", or "LAV") along with a short explanation of the decision.
|