gpaasch commited on
Commit
6914fb8
·
1 Parent(s): c7fb41b

managing token limit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -132,7 +132,7 @@ def on_submit(symptoms_text, history):
132
  yield history, None, "\n".join(log)
133
 
134
  # Call LLM
135
- response = llm.complete(prompt)
136
  raw = response
137
  # Extract text from CompletionResponse if needed
138
  if hasattr(raw, "text"):
 
132
  yield history, None, "\n".join(log)
133
 
134
  # Call LLM
135
+ response = llm(prompt=prompt)
136
  raw = response
137
  # Extract text from CompletionResponse if needed
138
  if hasattr(raw, "text"):