Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:"
|