Sanchit2207 commited on
Commit
ae9bf14
·
verified ·
1 Parent(s): 8cc9f0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -16
app.py CHANGED
@@ -38,22 +38,7 @@ def chatbot_response(question):
38
  "Symptoms: In addition to fever, cough, and loss of taste or smell, some people may experience shortness of breath, body aches, headaches, sore throat, and gastrointestinal symptoms such as diarrhea. "
39
  "Symptoms typically appear 2-14 days after exposure. The severity of symptoms can range from mild or asymptomatic cases to severe illness requiring hospitalization or ventilator support."
40
  "\n\n"
41
- "Testing: COVID-19 tests include PCR tests (Polymerase Chain Reaction) and antigen tests. PCR tests are considered the gold standard and detect viral genetic material, while antigen tests detect viral proteins. "
42
- "Testing is crucial for identifying infected individuals, even if they are asymptomatic, to prevent the further spread of the virus."
43
- "\n\n"
44
- "Treatment: There is no specific cure for COVID-19, but treatment focuses on relieving symptoms. Patients with mild symptoms can typically recover at home with rest and fluids. "
45
- "Severe cases may require hospitalization, oxygen therapy, and mechanical ventilation. Drugs such as remdesivir and monoclonal antibodies have been used to treat hospitalized patients. "
46
- "Steroids like dexamethasone are commonly used for severe cases, while antivirals like Paxlovid have shown promise in early treatment."
47
- "\n\n"
48
- "Prevention: Vaccination is one of the most effective measures to reduce the severity and transmission of COVID-19. Vaccines from companies like Pfizer, Moderna, and AstraZeneca have shown high efficacy in preventing symptomatic infection, hospitalization, and death. "
49
- "Preventive measures also include wearing masks, practicing social distancing, and frequently washing hands. Individuals should avoid large gatherings and stay home when feeling ill."
50
- "\n\n"
51
- "Variants: SARS-CoV-2 has mutated over time, leading to the emergence of new variants such as the Delta and Omicron variants. These variants may have different levels of transmissibility and resistance to immunity. "
52
- "Ongoing studies are crucial to understanding how these variants impact the effectiveness of vaccines and treatments."
53
- "\n\n"
54
- "Long COVID: Some individuals, known as 'long haulers', continue to experience symptoms long after recovering from the initial infection. Symptoms of long COVID include fatigue, brain fog, joint pain, and difficulty breathing. "
55
- "The exact cause of long COVID is still under investigation."
56
- )
57
 
58
  )
59
  return answer_question(context, question)
 
38
  "Symptoms: In addition to fever, cough, and loss of taste or smell, some people may experience shortness of breath, body aches, headaches, sore throat, and gastrointestinal symptoms such as diarrhea. "
39
  "Symptoms typically appear 2-14 days after exposure. The severity of symptoms can range from mild or asymptomatic cases to severe illness requiring hospitalization or ventilator support."
40
  "\n\n"
41
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
  )
44
  return answer_question(context, question)