ldhldh commited on
Commit
3104338
ยท
1 Parent(s): 5be15aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -12
app.py CHANGED
@@ -61,29 +61,23 @@ def yn(x):
61
 
62
  with gr.Blocks() as demo:
63
  aa = gr.Interface(
64
- fn=yn,
65
  inputs="text",
66
  outputs="text",
67
- examples=[
68
- ["yes,no"]
69
- ],
70
  )
71
 
72
  bb = gr.Interface(
73
- fn=chat,
74
  inputs="text",
75
  outputs="text",
76
- examples=[
77
- ["chat"]
78
- ],
79
  )
80
 
81
  cc = gr.Interface(
82
- fn=mbti,
83
  inputs="text",
84
  outputs="text",
85
- examples=[
86
- ["mbti"]
87
- ],
88
  )
89
  demo.queue(max_size=32).launch(enable_queue=True)
 
61
 
62
  with gr.Blocks() as demo:
63
  aa = gr.Interface(
64
+ fn=chat,
65
  inputs="text",
66
  outputs="text",
67
+ description="chat"
 
 
68
  )
69
 
70
  bb = gr.Interface(
71
+ fn=mbti,
72
  inputs="text",
73
  outputs="text",
74
+ description="mbti"
 
 
75
  )
76
 
77
  cc = gr.Interface(
78
+ fn=yn,
79
  inputs="text",
80
  outputs="text",
81
+ description="yn"
 
 
82
  )
83
  demo.queue(max_size=32).launch(enable_queue=True)