Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ llm = HuggingFaceEndpoint(
|
|
12 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3", # Replace with your model repo
|
13 |
huggingfacehub_api_token=HF_TOKEN.strip(),
|
14 |
temperature=0.7,
|
15 |
-
max_new_tokens=
|
16 |
)
|
17 |
|
18 |
# Function to handle chatbot response
|
|
|
12 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3", # Replace with your model repo
|
13 |
huggingfacehub_api_token=HF_TOKEN.strip(),
|
14 |
temperature=0.7,
|
15 |
+
max_new_tokens=100
|
16 |
)
|
17 |
|
18 |
# Function to handle chatbot response
|