ldhldh commited on
Commit
fa9812c
β€’
1 Parent(s): 3f75f85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -50,7 +50,7 @@ name_list['id'] = 'name'
50
  p2p_list = dict()
51
  p2p_list['id'] = '11111111'
52
 
53
- def chat(x):
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 응닡을 λ°˜ν™˜ν•©λ‹ˆλ‹€.\n /run/predict",
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(