rishisim commited on
Commit
1602d86
1 Parent(s): 3dbcb62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -68,12 +68,12 @@ rag_chain = (
68
  | StrOutputParser()
69
  )
70
 
71
- def warmup_model():
72
- dummy_context = {"context": "dummy context", "question": "dummy question"}
73
- rag_chain.invoke(dummy_context)
74
 
75
- # Call the warm-up function during startup
76
- warmup_model()
77
 
78
  # Define the chat response function
79
  def chatresponse(message, history):
 
68
  | StrOutputParser()
69
  )
70
 
71
+ # def warmup_model():
72
+ # dummy_context = {"context": "dummy context", "question": "dummy question"}
73
+ # rag_chain.invoke(dummy_context)
74
 
75
+ # # Call the warm-up function during startup
76
+ # warmup_model()
77
 
78
  # Define the chat response function
79
  def chatresponse(message, history):