Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,29 +61,23 @@ def yn(x):
|
|
| 61 |
|
| 62 |
with gr.Blocks() as demo:
|
| 63 |
aa = gr.Interface(
|
| 64 |
-
fn=
|
| 65 |
inputs="text",
|
| 66 |
outputs="text",
|
| 67 |
-
|
| 68 |
-
["yes,no"]
|
| 69 |
-
],
|
| 70 |
)
|
| 71 |
|
| 72 |
bb = gr.Interface(
|
| 73 |
-
fn=
|
| 74 |
inputs="text",
|
| 75 |
outputs="text",
|
| 76 |
-
|
| 77 |
-
["chat"]
|
| 78 |
-
],
|
| 79 |
)
|
| 80 |
|
| 81 |
cc = gr.Interface(
|
| 82 |
-
fn=
|
| 83 |
inputs="text",
|
| 84 |
outputs="text",
|
| 85 |
-
|
| 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)
|