Spaces:
Sleeping
Sleeping
Commit
·
ab8109f
1
Parent(s):
5233eab
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def on_prompt_template_change(prompt_template):
|
|
39 |
if not isinstance(prompt_template, str): return
|
40 |
return prompt_templates[prompt_template]
|
41 |
|
42 |
-
def submit_message( prompt, prompt_template, temperature, max_tokens, context_length, state):
|
43 |
|
44 |
history = state['messages']
|
45 |
|
|
|
39 |
if not isinstance(prompt_template, str): return
|
40 |
return prompt_templates[prompt_template]
|
41 |
|
42 |
+
def submit_message(key, prompt, prompt_template, temperature, max_tokens, context_length, state):
|
43 |
|
44 |
history = state['messages']
|
45 |
|