rkoushikroy2
commited on
Commit
•
9a97606
1
Parent(s):
890e747
Upload 2 files
Browse files
app.py
CHANGED
@@ -31,9 +31,9 @@ with gr.Blocks() as app:
|
|
31 |
|
32 |
user_message.submit(
|
33 |
fn = get_prompt, inputs = [user_message, session_data], outputs = prompt
|
34 |
-
).then(lambda:"", inputs=None, outputs=user_message)
|
35 |
system_prompt.change(
|
36 |
-
fn = set_pre_text, inputs = [system_prompt, session_data], outputs = session_data
|
37 |
)
|
38 |
|
39 |
|
|
|
31 |
|
32 |
user_message.submit(
|
33 |
fn = get_prompt, inputs = [user_message, session_data], outputs = prompt
|
34 |
+
).then(lambda:"", inputs=None, outputs=user_message, queue=False)
|
35 |
system_prompt.change(
|
36 |
+
fn = set_pre_text, inputs = [system_prompt, session_data], outputs = session_data, queue=False
|
37 |
)
|
38 |
|
39 |
|