LaoCzi commited on
Commit
7ef54db
·
verified ·
1 Parent(s): bc98632

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -43,7 +43,9 @@ def respond(message, history: list[tuple[str, str]], system_message, max_tokens,
43
  yield response
44
 
45
  demo = gr.ChatInterface(
46
- respond,
 
 
47
  additional_inputs=[
48
  gr.Textbox(value=prompt, label="System message"),
49
  gr.Slider(minimum=1, maximum=9048, value=1024, step=1, label="Max new tokens"),
 
43
  yield response
44
 
45
  demo = gr.ChatInterface(
46
+ fn=respond,
47
+ title="ChatGPT + Data about YouControl",
48
+ description="Чат призначений виключно для запитань, пов'язаних із компанією YouControl",
49
  additional_inputs=[
50
  gr.Textbox(value=prompt, label="System message"),
51
  gr.Slider(minimum=1, maximum=9048, value=1024, step=1, label="Max new tokens"),