Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,8 @@ import gradio as gr
|
|
10 |
|
11 |
# model = SentenceTransformer('jhgan/ko-sroberta-multitask')
|
12 |
|
13 |
-
def response(message, history
|
14 |
-
|
15 |
-
return "μ±λ΄μ λ―Έμμ±νμμ΅λλ€ " + additional_input_info
|
16 |
|
17 |
gr.ChatInterface(
|
18 |
fn=response,
|
@@ -23,11 +22,7 @@ gr.ChatInterface(
|
|
23 |
examples=[["μλ½"], ["μμ¦ λ₯λ€ γ
γ
"], ["μ μ¬λ©λ΄ μΆμ²λ°λ, μ§μ₯ μ§¬λ½ ν 1"]],
|
24 |
retry_btn="λ€μ보λ΄κΈ° β©",
|
25 |
undo_btn="μ΄μ μ± μμ β",
|
26 |
-
clear_btn="μ μ± μμ π«"
|
27 |
-
additional_inputs=[
|
28 |
-
gr.Textbox("!!!", label="λλ§μκΈ°")
|
29 |
-
]
|
30 |
-
).launch()
|
31 |
|
32 |
# gr.Interface(
|
33 |
# fn=response,
|
|
|
10 |
|
11 |
# model = SentenceTransformer('jhgan/ko-sroberta-multitask')
|
12 |
|
13 |
+
def response(message, history):
|
14 |
+
return message
|
|
|
15 |
|
16 |
gr.ChatInterface(
|
17 |
fn=response,
|
|
|
22 |
examples=[["μλ½"], ["μμ¦ λ₯λ€ γ
γ
"], ["μ μ¬λ©λ΄ μΆμ²λ°λ, μ§μ₯ μ§¬λ½ ν 1"]],
|
23 |
retry_btn="λ€μ보λ΄κΈ° β©",
|
24 |
undo_btn="μ΄μ μ± μμ β",
|
25 |
+
clear_btn="μ μ± μμ π«").launch()
|
|
|
|
|
|
|
|
|
26 |
|
27 |
# gr.Interface(
|
28 |
# fn=response,
|