Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ name_list['id'] = 'name'
|
|
50 |
p2p_list = dict()
|
51 |
p2p_list['id'] = '11111111'
|
52 |
|
53 |
-
def chat(
|
54 |
|
55 |
return "AI μλ΅μ
λλ€."
|
56 |
|
@@ -123,9 +123,9 @@ with gr.Blocks() as demo:
|
|
123 |
count = 0
|
124 |
aa = gr.Interface(
|
125 |
fn=chat,
|
126 |
-
inputs=["text"],
|
127 |
outputs="text",
|
128 |
-
description="chat, ai μλ΅μ
|
129 |
)
|
130 |
|
131 |
rr = gr.Interface(
|
|
|
50 |
p2p_list = dict()
|
51 |
p2p_list['id'] = '11111111'
|
52 |
|
53 |
+
def chat(id, prompt):
|
54 |
|
55 |
return "AI μλ΅μ
λλ€."
|
56 |
|
|
|
123 |
count = 0
|
124 |
aa = gr.Interface(
|
125 |
fn=chat,
|
126 |
+
inputs=["text","text"],
|
127 |
outputs="text",
|
128 |
+
description="chat, ai μλ΅μ λ°νν©λλ€. \n /run/predict",
|
129 |
)
|
130 |
|
131 |
rr = gr.Interface(
|