Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ def newsworthiness_detection(fetch_message_from_newsweb: str) -> str:
|
|
| 106 |
"""
|
| 107 |
|
| 108 |
try:
|
| 109 |
-
response =
|
| 110 |
prompt=full_prompt,
|
| 111 |
max_new_tokens=150,
|
| 112 |
temperature=0.2,
|
|
|
|
| 106 |
"""
|
| 107 |
|
| 108 |
try:
|
| 109 |
+
response = HfApiModel(
|
| 110 |
prompt=full_prompt,
|
| 111 |
max_new_tokens=150,
|
| 112 |
temperature=0.2,
|