ww commited on
Commit
bbe119e
·
1 Parent(s): f8f7574
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -24,7 +24,12 @@ def generate_response(
24
  top_p,
25
  ):
26
  print('=====================')
 
27
  print(history)
 
 
 
 
28
  print('=====================')
29
  formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
30
  stream = client.text_generation(formatted_prompt,stream=True, max_new_tokens=256)
 
24
  top_p,
25
  ):
26
  print('=====================')
27
+ print(prompt)
28
  print(history)
29
+ print(system_prompt)
30
+ print(max_tokens)
31
+ print(temperature)
32
+ print(top_p)
33
  print('=====================')
34
  formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
35
  stream = client.text_generation(formatted_prompt,stream=True, max_new_tokens=256)