KrishP-12 commited on
Commit
f71584f
·
verified ·
1 Parent(s): f6b5197

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ model = torch.load("chatbot_model.pt") # Adjust as needed
7
  # Define the chatbot function
8
  def chatbot(input_text):
9
  # Use your model inference function here
10
- response = ChatbotModel.qa_chain(input_text) # Call to your response function
11
  return response
12
 
13
  # Define the Gradio interface
 
7
  # Define the chatbot function
8
  def chatbot(input_text):
9
  # Use your model inference function here
10
+ response = model.qa_chain(input_text) # Call to your response function
11
  return response
12
 
13
  # Define the Gradio interface