Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def get_answer(text):
|
|
| 31 |
prompt = PromptTemplate(template=template, input_variables=["text"])
|
| 32 |
|
| 33 |
llm_chain = LLMChain(prompt=prompt,
|
| 34 |
-
llm=HuggingFaceHub(repo_id="Mr-Vicky-01/
|
| 35 |
model_kwargs={"max_length":100,
|
| 36 |
"max_new_tokens":100,
|
| 37 |
"do_sample": False}))
|
|
|
|
| 31 |
prompt = PromptTemplate(template=template, input_variables=["text"])
|
| 32 |
|
| 33 |
llm_chain = LLMChain(prompt=prompt,
|
| 34 |
+
llm=HuggingFaceHub(repo_id="Mr-Vicky-01/Bart-Finetuned-conversational-summarization",
|
| 35 |
model_kwargs={"max_length":100,
|
| 36 |
"max_new_tokens":100,
|
| 37 |
"do_sample": False}))
|