GenAICoder commited on
Commit
3e46fcb
·
verified ·
1 Parent(s): c1982f2

Update analytics/ai_assistant.py

Browse files
Files changed (1) hide show
  1. analytics/ai_assistant.py +1 -1
analytics/ai_assistant.py CHANGED
@@ -143,7 +143,7 @@ def generate_ai_answer(question: str, df: pd.DataFrame, as_of_month: str = None,
143
  client = _get_inference_client()
144
  response = client.text_generation(
145
  model=HF_MODEL_ID,
146
- prompt,
147
  max_new_tokens= HF_MAX_TOKENS,
148
  temperature= HF_TEMPERATURE,
149
  top_k= 50,
 
143
  client = _get_inference_client()
144
  response = client.text_generation(
145
  model=HF_MODEL_ID,
146
+ prompt = prompt,
147
  max_new_tokens= HF_MAX_TOKENS,
148
  temperature= HF_TEMPERATURE,
149
  top_k= 50,