Spaces:
Running
Running
Commit
·
514aa5b
1
Parent(s):
4e32226
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,6 @@ def generate_text(prompt):
|
|
20 |
def greet(ask):
|
21 |
return generate_text(ask)
|
22 |
|
23 |
-
print(greet)
|
24 |
|
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:
|
|
|
20 |
def greet(ask):
|
21 |
return generate_text(ask)
|
22 |
|
|
|
23 |
|
24 |
#demo = gr.Interface(fn=greet,inputs=gr.Textbox(lines=5, placeholder="想问什么?"),outputs=gr.Textbox(lines=3, placeholder="等待问答。。。"),) + gr.Accordion("欢迎━(*`∀´*)ノ亻!!") + gr.Markdown("这是随作闲出p做的网站,会特别特别慢!随便用吧。。。")
|
25 |
with gr.Blocks() as demo:
|