ambrosfitz commited on
Commit
ba1ca3f
1 Parent(s): 980c575

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -18,7 +18,7 @@ def runpod_chat(question, history):
18
  model="ambrosfitz/llama-3-history",
19
  messages=history,
20
  temperature=0,
21
- max_tokens=1028,
22
  stream=True,
23
  )
24
 
@@ -35,8 +35,8 @@ def runpod_chat(question, history):
35
  iface = gr.Interface(
36
  fn=runpod_chat,
37
  inputs=[
38
- gr.inputs.Textbox(label="Enter your question:"),
39
- gr.inputs.State(label="History")
40
  ],
41
  outputs="chat",
42
  title="RunPod Chat",
 
18
  model="ambrosfitz/llama-3-history",
19
  messages=history,
20
  temperature=0,
21
+ max_tokens=150,
22
  stream=True,
23
  )
24
 
 
35
  iface = gr.Interface(
36
  fn=runpod_chat,
37
  inputs=[
38
+ gr.Textbox(label="Enter your question:"),
39
+ gr.State(label="History")
40
  ],
41
  outputs="chat",
42
  title="RunPod Chat",