ldhldh commited on
Commit
6dabdb1
·
1 Parent(s): 72edfb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -92,49 +92,49 @@ with gr.Blocks() as demo:
92
  fn=chat,
93
  inputs=["text"],
94
  outputs="text",
95
- description="chat",
96
  )
97
 
98
  rr = gr.Interface(
99
  fn=register,
100
  inputs=["text", "text"],
101
  outputs="text",
102
- description="register",
103
  )
104
 
105
  ll = gr.Interface(
106
  fn=login,
107
  inputs=["text", "text"],
108
  outputs="text",
109
- description="login",
110
  )
111
 
112
  ad = gr.Interface(
113
  fn=add_name,
114
  inputs=["text", "text"],
115
  outputs="text",
116
- description="add_name",
117
  )
118
 
119
  nn = gr.Interface(
120
  fn=get_name,
121
  inputs=["text"],
122
  outputs="text",
123
- description="get_name",
124
  )
125
 
126
  adp = gr.Interface(
127
  fn=add_p,
128
  inputs=["text", "text"],
129
  outputs="text",
130
- description="add_p",
131
  )
132
 
133
  nnp = gr.Interface(
134
  fn=get_p,
135
  inputs=["text"],
136
  outputs="text",
137
- description="get_p",
138
  )
139
 
140
  demo.queue(max_size=32).launch(enable_queue=True)
 
92
  fn=chat,
93
  inputs=["text"],
94
  outputs="text",
95
+ description="chat, /run/predict",
96
  )
97
 
98
  rr = gr.Interface(
99
  fn=register,
100
  inputs=["text", "text"],
101
  outputs="text",
102
+ description="register, /run/predict_1",
103
  )
104
 
105
  ll = gr.Interface(
106
  fn=login,
107
  inputs=["text", "text"],
108
  outputs="text",
109
+ description="login, /run/predict_2",
110
  )
111
 
112
  ad = gr.Interface(
113
  fn=add_name,
114
  inputs=["text", "text"],
115
  outputs="text",
116
+ description="add_name, /run/predict_3",
117
  )
118
 
119
  nn = gr.Interface(
120
  fn=get_name,
121
  inputs=["text"],
122
  outputs="text",
123
+ description="get_name, /run/predict_4",
124
  )
125
 
126
  adp = gr.Interface(
127
  fn=add_p,
128
  inputs=["text", "text"],
129
  outputs="text",
130
+ description="add_p, /run/predict_5",
131
  )
132
 
133
  nnp = gr.Interface(
134
  fn=get_p,
135
  inputs=["text"],
136
  outputs="text",
137
+ description="get_p, /run/predict_6",
138
  )
139
 
140
  demo.queue(max_size=32).launch(enable_queue=True)