nruto commited on
Commit
63518e9
·
verified ·
1 Parent(s): 6ab89b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -1,9 +1,7 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
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
- """
7
  client = InferenceClient("Qwen/Qwen2.5-Coder-32B-Instruct")
8
 
9
 
@@ -45,8 +43,8 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
45
  """
46
  demo = gr.ChatInterface(
47
  respond,
48
- title="Welcome to Rxple Chat Bot",
49
- description="Follow us on [Instagram](https://www.instagram.com/khellon_patel_21)",
50
  additional_inputs=[
51
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
52
  gr.Slider(minimum=1, maximum=2048, value=2048, step=1, label="Max new tokens"),
@@ -63,4 +61,4 @@ demo = gr.ChatInterface(
63
 
64
 
65
  if __name__ == "__main__":
66
- demo.launch()
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
+
 
 
5
  client = InferenceClient("Qwen/Qwen2.5-Coder-32B-Instruct")
6
 
7
 
 
43
  """
44
  demo = gr.ChatInterface(
45
  respond,
46
+ title="Welcome to [Rxple](https://www.instagram.com/khellon_patel_21) Chat Bot",
47
+ # description="Follow us on [Instagram](https://www.instagram.com/khellon_patel_21)",
48
  additional_inputs=[
49
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
50
  gr.Slider(minimum=1, maximum=2048, value=2048, step=1, label="Max new tokens"),
 
61
 
62
 
63
  if __name__ == "__main__":
64
+ demo.launch(share==True)