Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,8 +25,8 @@ examples = [
|
|
| 25 |
demo = gr.Interface(
|
| 26 |
fn=generate,
|
| 27 |
title="Legal Document Drafting",
|
| 28 |
-
inputs=gr.inputs.Textbox(lines=5, label="輸入提示文字"),
|
| 29 |
-
outputs=gr.outputs.Textbox(label="
|
| 30 |
examples=examples
|
| 31 |
)
|
| 32 |
|
|
|
|
| 25 |
demo = gr.Interface(
|
| 26 |
fn=generate,
|
| 27 |
title="Legal Document Drafting",
|
| 28 |
+
inputs=gr.inputs.Textbox(lines=5, label="輸入提示文字",placeholder=examples[0]),
|
| 29 |
+
outputs=gr.outputs.Textbox(label="生成的草稿"),
|
| 30 |
examples=examples
|
| 31 |
)
|
| 32 |
|