Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def draw_lots(names):
|
|
| 77 |
# 建立 Gradio 介面
|
| 78 |
iface = gr.Interface(
|
| 79 |
fn=draw_lots,
|
| 80 |
-
inputs=gr.
|
| 81 |
outputs="text",
|
| 82 |
title="抽籤系統",
|
| 83 |
description="輸入名字列表,用逗號分隔,然後按下按鈕進行抽籤。"
|
|
|
|
| 77 |
# 建立 Gradio 介面
|
| 78 |
iface = gr.Interface(
|
| 79 |
fn=draw_lots,
|
| 80 |
+
inputs=gr.Textbox(lines=2, placeholder="請輸入名字,用逗號分隔"),
|
| 81 |
outputs="text",
|
| 82 |
title="抽籤系統",
|
| 83 |
description="輸入名字列表,用逗號分隔,然後按下按鈕進行抽籤。"
|