JustKiddo commited on
Commit
1cdfe85
·
verified ·
1 Parent(s): 6984e2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
  from datasets import load_dataset
4
-
5
  """
6
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
7
  """
@@ -53,7 +52,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
53
  demo = gr.ChatInterface(
54
  respond,
55
  additional_inputs=[
56
- gr.Textbox(value="You are a helpful and professional assistant on an attendance management system.", label="System message"),
57
  gr.Slider(minimum=1, maximum=6144, value=6144, step=1, label="Max new tokens"),
58
  gr.Slider(minimum=0.1, maximum=4.0, value=1, step=0.1, label="Temperature"),
59
  gr.Slider(
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
  from datasets import load_dataset
 
4
  """
5
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
6
  """
 
52
  demo = gr.ChatInterface(
53
  respond,
54
  additional_inputs=[
55
+ gr.Textbox(value="You are a professional and friendly therapist specialized on LGBT+ issues", label="System message"),
56
  gr.Slider(minimum=1, maximum=6144, value=6144, step=1, label="Max new tokens"),
57
  gr.Slider(minimum=0.1, maximum=4.0, value=1, step=0.1, label="Temperature"),
58
  gr.Slider(