Spaces:
Sleeping
Sleeping
Update analytics/ai_assistant.py
Browse files
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,
|