phk0 commited on
Commit
97022c2
·
verified ·
1 Parent(s): 76a6243

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -1,9 +1,10 @@
1
  from huggingface_hub import InferenceClient
2
  import gradio as gr
3
 
4
- client = InferenceClient(
5
- "meta-llama/Meta-Llama-3.1-8B-Instruct"
6
- )
 
7
 
8
 
9
  def format_prompt(message, history):
@@ -86,5 +87,5 @@ gr.ChatInterface(
86
  fn=generate,
87
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
88
  additional_inputs=additional_inputs,
89
- title="""Mistral 7B v0.3"""
90
  ).launch(show_api=False)
 
1
  from huggingface_hub import InferenceClient
2
  import gradio as gr
3
 
4
+ llm="meta-llama/Meta-Llama-3.1-8B-Instruct"
5
+
6
+
7
+ client = InferenceClient(llm)
8
 
9
 
10
  def format_prompt(message, history):
 
87
  fn=generate,
88
  chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
89
  additional_inputs=additional_inputs,
90
+ title=llm
91
  ).launch(show_api=False)