Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,8 @@ 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 = "
|
|
|
89 |
#(question = question, context = context)
|
90 |
print("check3A")
|
91 |
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 of people with type 2 diabetes are overweight. But remission does not mean that diabetes has gone away. To continue in remission, one must ensure that they maintain the weight that they have lost and continue exercise and eat healthy.
|
89 |
+
")
|
90 |
#(question = question, context = context)
|
91 |
print("check3A")
|
92 |
print(chain)
|