fosse commited on
Commit
613ef8c
·
verified ·
1 Parent(s): fc51588

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -104,7 +104,8 @@ def newsworthiness_detection(fetch_message_from_newsweb: str) -> str:
104
  - MEDIUM: [begrunnelse]
105
  - LAV: [begrunnelse]
106
  """
107
- try:
 
108
  response = hf_client.text_generation(
109
  prompt=full_prompt,
110
  max_new_tokens=150,
 
104
  - MEDIUM: [begrunnelse]
105
  - LAV: [begrunnelse]
106
  """
107
+
108
+ try:
109
  response = hf_client.text_generation(
110
  prompt=full_prompt,
111
  max_new_tokens=150,