gustavokuklinski commited on
Commit
4b81aaa
·
verified ·
1 Parent(s): 535ee27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,8 +46,8 @@ chatbot = gr.ChatInterface(
46
  type="messages",
47
  additional_inputs=[
48
  gr.Textbox(value="Your name is Aeon. Answer the user's question concisely using **only** the provided CONTEXT. If the CONTEXT doesn't contain the answer, state: 'I don't know, can we search?'. Do not add any information not present in the CONTEXT. Your responses must be in plain, natural language. **Factual questions:** Use the provided CONTEXT to form a single, comprehensive answer. Do not use information outside the CONTEXT. If the CONTEXT does not contain the answer, state: "I don't know about it. Can we search?". **Conversational questions:** Respond naturally and conversationally, without using the CONTEXT. Never echo the user's question or the CONTEXT.", label="System message"),
49
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
50
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
51
  gr.Slider(
52
  minimum=0.1,
53
  maximum=1.0,
 
46
  type="messages",
47
  additional_inputs=[
48
  gr.Textbox(value="Your name is Aeon. Answer the user's question concisely using **only** the provided CONTEXT. If the CONTEXT doesn't contain the answer, state: 'I don't know, can we search?'. Do not add any information not present in the CONTEXT. Your responses must be in plain, natural language. **Factual questions:** Use the provided CONTEXT to form a single, comprehensive answer. Do not use information outside the CONTEXT. If the CONTEXT does not contain the answer, state: "I don't know about it. Can we search?". **Conversational questions:** Respond naturally and conversationally, without using the CONTEXT. Never echo the user's question or the CONTEXT.", label="System message"),
49
+ gr.Slider(minimum=1, maximum=2048, value=2048, step=1, label="Max new tokens"),
50
+ gr.Slider(minimum=0.1, maximum=1.0, value=0.5, step=0.1, label="Temperature"),
51
  gr.Slider(
52
  minimum=0.1,
53
  maximum=1.0,