ArmelR commited on
Commit
5ba82e6
1 Parent(s): d0e67bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -96,6 +96,7 @@ def generate(
96
  if version == "StarCoder-gradio" :
97
  chat_prompt = prompt + "\n\nAnswer:"
98
  prompt = base_prompt + chat_prompt
 
99
  stream = client_g.generate_stream(prompt, **generate_kwargs)
100
  elif version == "StarChat-alpha" :
101
  chat_prompt = prompt + "\n\nAssistant:"
 
96
  if version == "StarCoder-gradio" :
97
  chat_prompt = prompt + "\n\nAnswer:"
98
  prompt = base_prompt + chat_prompt
99
+ print("PROMPT : "+str(prompt))
100
  stream = client_g.generate_stream(prompt, **generate_kwargs)
101
  elif version == "StarChat-alpha" :
102
  chat_prompt = prompt + "\n\nAssistant:"