Update app.py
Browse files
app.py
CHANGED
@@ -85,8 +85,7 @@ pipe = pipeline(model = llm_model, tokenizer = tokenizer, task = "question-answe
|
|
85 |
#"question-answering", "conversational"
|
86 |
|
87 |
print("check3")
|
88 |
-
chain = pipe(question = "How can I reverse diabetes?",context = "Diabetes remission or reversal is a condition when a person’s HbA1c is less than 6.5% for 3 months or more without diabetes medication. For diabetes remission or reversal, people should follow the advice of their doctors and nutritionist. Weight reduction is the key point for diabetes remission or reversal, as we all know that one of the leading causes of developing diabetes is obesity and more than 82 percent
|
89 |
-
")
|
90 |
#(question = question, context = context)
|
91 |
print("check3A")
|
92 |
print(chain)
|
|
|
85 |
#"question-answering", "conversational"
|
86 |
|
87 |
print("check3")
|
88 |
+
chain = pipe(question = "How can I reverse diabetes?",context = "Diabetes remission or reversal is a condition when a person’s HbA1c is less than 6.5% for 3 months or more without diabetes medication. For diabetes remission or reversal, people should follow the advice of their doctors and nutritionist. Weight reduction is the key point for diabetes remission or reversal, as we all know that one of the leading causes of developing diabetes is obesity and more than 82 percent are overweight. But remission does not mean that diabetes has gone away.")
|
|
|
89 |
#(question = question, context = context)
|
90 |
print("check3A")
|
91 |
print(chain)
|