Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ def prompt_engineer(text, longtext, query):
|
|
107 |
|
108 |
try:
|
109 |
sllm = HuggingFaceHub(
|
110 |
-
repo_id="facebook/bart-large-cnn", model_kwargs={"temperature": 0, "max_new_tokens": 256, "task":"
|
111 |
)
|
112 |
st.write("Summary Chat llm connection started..")
|
113 |
except Exception as e:
|
|
|
107 |
|
108 |
try:
|
109 |
sllm = HuggingFaceHub(
|
110 |
+
repo_id="facebook/bart-large-cnn", model_kwargs={"temperature": 0, "max_new_tokens": 256, "task":"summarization"}
|
111 |
)
|
112 |
st.write("Summary Chat llm connection started..")
|
113 |
except Exception as e:
|