richardkimsm89 commited on
Commit
e015f05
·
verified ·
1 Parent(s): 44b3e69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -9,14 +9,13 @@ client = InferenceClient(model)
9
  def fn(
10
  prompt,
11
  #history: list[tuple[str, str]],
12
- history,
13
  #system_prompt,
14
  max_tokens,
15
  temperature,
16
  top_p,
17
  ):
18
  #messages = [{"role": "system", "content": system_prompt}]
19
-
20
  #history.append({"role": "user", "content": prompt})
21
 
22
  messages = [{"role": "user", "content": prompt}]
 
9
  def fn(
10
  prompt,
11
  #history: list[tuple[str, str]],
12
+ history: list,
13
  #system_prompt,
14
  max_tokens,
15
  temperature,
16
  top_p,
17
  ):
18
  #messages = [{"role": "system", "content": system_prompt}]
 
19
  #history.append({"role": "user", "content": prompt})
20
 
21
  messages = [{"role": "user", "content": prompt}]