Spaces:
Running
Running
Commit
·
21bc572
1
Parent(s):
fbee618
Update app.py
Browse files
app.py
CHANGED
@@ -25,10 +25,10 @@ print(greet)
|
|
25 |
#demo = gr.Interface(fn=greet,inputs=gr.Textbox(lines=5, placeholder="想问什么?"),outputs=gr.Textbox(lines=3, placeholder="等待问答。。。"),) + gr.Accordion("欢迎━(*`∀´*)ノ亻!!") + gr.Markdown("这是随作闲出p做的网站,会特别特别慢!随便用吧。。。")
|
26 |
with gr.Blocks() as demo:
|
27 |
gr.Markdown("你好")
|
28 |
-
with gr.Tab("
|
29 |
text_input = gr.Textbox(lines=5, placeholder="想问什么?")
|
30 |
text_output = gr.Textbox(lines=3, placeholder="等待问答。。。")
|
31 |
-
text_button = gr.Button("
|
32 |
|
33 |
with gr.Accordion("欢迎━(*`∀´*)ノ亻!!"):
|
34 |
gr.Markdown("ps:这是随作闲出p做的网站,会特别特别慢!随便用吧。。。")
|
|
|
25 |
#demo = gr.Interface(fn=greet,inputs=gr.Textbox(lines=5, placeholder="想问什么?"),outputs=gr.Textbox(lines=3, placeholder="等待问答。。。"),) + gr.Accordion("欢迎━(*`∀´*)ノ亻!!") + gr.Markdown("这是随作闲出p做的网站,会特别特别慢!随便用吧。。。")
|
26 |
with gr.Blocks() as demo:
|
27 |
gr.Markdown("你好")
|
28 |
+
with gr.Tab("问答"):
|
29 |
text_input = gr.Textbox(lines=5, placeholder="想问什么?")
|
30 |
text_output = gr.Textbox(lines=3, placeholder="等待问答。。。")
|
31 |
+
text_button = gr.Button("发送")
|
32 |
|
33 |
with gr.Accordion("欢迎━(*`∀´*)ノ亻!!"):
|
34 |
gr.Markdown("ps:这是随作闲出p做的网站,会特别特别慢!随便用吧。。。")
|