jme-datasci commited on
Commit
a9f449f
·
1 Parent(s): 51adc6f

changed duration of zerogpu

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ except Exception as e:
120
  rag = None
121
 
122
  # --- ZERO-GPU INFERENCE FUNCTION ---
123
- @spaces.GPU
124
  def chat_function(message, history):
125
  if rag is None:
126
  return "System Error: RAG Pipeline failed to initialize."
 
120
  rag = None
121
 
122
  # --- ZERO-GPU INFERENCE FUNCTION ---
123
+ @spaces.GPU(duration=15)
124
  def chat_function(message, history):
125
  if rag is None:
126
  return "System Error: RAG Pipeline failed to initialize."