Spaces:
Sleeping
Sleeping
Jeong-hun Kim
commited on
Commit
ยท
3f3ac87
1
Parent(s):
73dadd8
fixed typo in on_submit
Browse files- core/launch_gradio.py +1 -1
core/launch_gradio.py
CHANGED
@@ -32,7 +32,7 @@ def create_interface(ctx: ContextManager, makePipeline: MakePipeline):
|
|
32 |
|
33 |
def on_submit(user_msg: str, ctx: ContextManager):
|
34 |
# ์ฌ์ฉ์ ๋ฉ์ธ์ง ์ถ๊ฐ
|
35 |
-
ctx.
|
36 |
|
37 |
# ์ ์ ๋ต๋ณ์ ํฌํจํ HTML ๋ ๋๋ง
|
38 |
html = render_chat(ctx)
|
|
|
32 |
|
33 |
def on_submit(user_msg: str, ctx: ContextManager):
|
34 |
# ์ฌ์ฉ์ ๋ฉ์ธ์ง ์ถ๊ฐ
|
35 |
+
ctx.addHistory("user", user_msg)
|
36 |
|
37 |
# ์ ์ ๋ต๋ณ์ ํฌํจํ HTML ๋ ๋๋ง
|
38 |
html = render_chat(ctx)
|