richardkimsm89 commited on
Commit
0d4f546
·
verified ·
1 Parent(s): a2f411d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@
3
  import gradio as gr
4
  from huggingface_hub import InferenceClient
5
 
6
- model = "meta-llama/Llama-3.2-3B-Instruct"
7
  client = InferenceClient(model)
8
 
9
  def fn(
@@ -42,7 +42,7 @@ def fn(
42
  app = gr.ChatInterface(
43
  fn = fn,
44
  additional_inputs = [
45
- gr.Textbox(value="You are a friendly assistant.", label="System Message"),
46
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max Tokens"),
47
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
48
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-P"),
 
3
  import gradio as gr
4
  from huggingface_hub import InferenceClient
5
 
6
+ model = "meta-llama/Llama-3.1-8B-Instruct"
7
  client = InferenceClient(model)
8
 
9
  def fn(
 
42
  app = gr.ChatInterface(
43
  fn = fn,
44
  additional_inputs = [
45
+ gr.Textbox(value="You are a helpful assistant.", label="System Message"),
46
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max Tokens"),
47
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
48
  gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-P"),