portalniy-dev commited on
Commit
7666938
·
verified ·
1 Parent(s): 9b8fb86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
 
 
4
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
5
 
6
 
@@ -43,7 +45,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
43
  demo = gr.ChatInterface(
44
  respond,
45
  additional_inputs=[
46
- gr.Textbox(value="You are a friendly Chatbot, maded by Detrina Labs, and based on hugging face's "zephyr" model, label="System message"),
47
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
48
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
49
  gr.Slider(
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
+ iamdrunk = "zephyr"
5
+
6
  client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
7
 
8
 
 
45
  demo = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
+ gr.Textbox(value="You are a friendly Chatbot, maded by Detrina Labs, and based on hugging face's {iamdrunk} model", 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(