Spaces:
Running
Running
johns
commited on
Commit
·
035dfaa
1
Parent(s):
9930fc3
prompt
Browse files
app.py
CHANGED
@@ -184,7 +184,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
184 |
queue=False,
|
185 |
).then(
|
186 |
fn=check_input_token_length,
|
187 |
-
inputs=[saved_input, chatbot,
|
188 |
api_name=False,
|
189 |
queue=False,
|
190 |
).success(
|
@@ -192,7 +192,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
192 |
inputs=[
|
193 |
saved_input,
|
194 |
chatbot,
|
195 |
-
|
196 |
max_new_tokens,
|
197 |
temperature,
|
198 |
top_p,
|
|
|
184 |
queue=False,
|
185 |
).then(
|
186 |
fn=check_input_token_length,
|
187 |
+
inputs=[saved_input, chatbot, system_prompt],
|
188 |
api_name=False,
|
189 |
queue=False,
|
190 |
).success(
|
|
|
192 |
inputs=[
|
193 |
saved_input,
|
194 |
chatbot,
|
195 |
+
system_prompt,
|
196 |
max_new_tokens,
|
197 |
temperature,
|
198 |
top_p,
|