wassemgtk commited on
Commit
47395b1
·
verified ·
1 Parent(s): 43c6ebf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -1,4 +1,3 @@
1
-
2
  import os
3
  import json
4
  import requests
@@ -131,7 +130,13 @@ div.controls { gap: 10px !important; }
131
  additional_inputs=[max_tokens, temperature, top_p, top_k, presence_penalty, frequency_penalty],
132
  title=None,
133
  submit_btn="Send",
134
- examples=["Hello!", "Summarize: Why is retrieval-augmented generation useful for insurers?", "Write a 3-bullet status update for the Palmyra team."],
 
 
 
 
 
 
135
  description="Start chatting below. Streaming is enabled."
136
  )
137
  clear_btn.click(fn=clear_history, outputs=chatbot)
 
 
1
  import os
2
  import json
3
  import requests
 
130
  additional_inputs=[max_tokens, temperature, top_p, top_k, presence_penalty, frequency_penalty],
131
  title=None,
132
  submit_btn="Send",
133
+
134
+ examples=[
135
+ ["Hello!", 4000, 0.6, 1.0, 40, 0.0, 0.0],
136
+ ["Summarize: Why is retrieval-augmented generation useful for insurers?", 4000, 0.6, 1.0, 40, 0.0, 0.0],
137
+ ["Write a 3-bullet status update for the Palmyra team.", 4000, 0.6, 1.0, 40, 0.0, 0.0]
138
+ ],
139
+
140
  description="Start chatting below. Streaming is enabled."
141
  )
142
  clear_btn.click(fn=clear_history, outputs=chatbot)