Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def analyze_sales_data(sales_records):
|
|
91 |
|
92 |
|
93 |
# Stream text - stream tokens with InferenceClient from TGI
|
94 |
-
async def predict(message, chatbot, temperature=0.
|
95 |
|
96 |
if system_prompt != "":
|
97 |
input_prompt = f"{system_prompt}"
|
|
|
91 |
|
92 |
|
93 |
# Stream text - stream tokens with InferenceClient from TGI
|
94 |
+
async def predict(message, chatbot, temperature=0.1, max_new_tokens=4096, top_p=0.6, repetition_penalty=1.15,):
|
95 |
|
96 |
if system_prompt != "":
|
97 |
input_prompt = f"{system_prompt}"
|