Rohankumar31 commited on
Commit
752919d
·
1 Parent(s): 2bbe453

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -2,7 +2,7 @@ import pandas as pd
2
  import model
3
  def chatbot(question):
4
  # Provide a context or passage where the answer can be found
5
- with open(r"Prakruti_LLM/Data.txt", "r", encoding="utf-8") as file:
6
  context = file.read()
7
  # Use the question-answering model to find the answer
8
  answer = model.qa_pipeline(question=question, context=context)
 
2
  import model
3
  def chatbot(question):
4
  # Provide a context or passage where the answer can be found
5
+ with open(r"Data.txt", "r", encoding="utf-8") as file:
6
  context = file.read()
7
  # Use the question-answering model to find the answer
8
  answer = model.qa_pipeline(question=question, context=context)