Shankarm08 commited on
Commit
317f74d
·
verified ·
1 Parent(s): 7f48a11

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,9 +13,9 @@ os.environ["HUGGINGFACEHUB_API_TOKEN"] = "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"
13
 
14
  #Function to return the response
15
  def load_answer(question):
16
- #llm = OpenAI(model_name="gpt-3.5-turbo-instruct",temperature=0)
17
- llm = HuggingFaceEndpoint(
18
- repo_id="mistralai/Mistral-7B-Instruct-v0.3") # Model link : https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3
19
 
20
  answer=llm.invoke(question)
21
  return answer
 
13
 
14
  #Function to return the response
15
  def load_answer(question):
16
+ llm = OpenAI(model_name="gpt-3.5-turbo-instruct",temperature=0)
17
+ # llm = HuggingFaceEndpoint(
18
+ #repo_id="mistralai/Mistral-7B-Instruct-v0.3") # Model link : https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3
19
 
20
  answer=llm.invoke(question)
21
  return answer