Update app.py
Browse files
app.py
CHANGED
@@ -104,12 +104,6 @@ with gr.Blocks(css=CSS) as demo:
|
|
104 |
gr.Slider(minimum=1, maximum=20, step=1, value=20, label="top_k", render=False),
|
105 |
gr.Slider(minimum=0.0, maximum=2.0, step=0.1, value=1.0, label="Repetition penalty", render=False),
|
106 |
],
|
107 |
-
examples=[
|
108 |
-
["请帮我生成一段关于学习的句子"],
|
109 |
-
["解释一下量子计算的概念"],
|
110 |
-
["给我提供一些Python编程技巧"],
|
111 |
-
["用CSS和JavaScript创建一个固定的页眉"],
|
112 |
-
],
|
113 |
cache_examples=False,
|
114 |
)
|
115 |
|
|
|
104 |
gr.Slider(minimum=1, maximum=20, step=1, value=20, label="top_k", render=False),
|
105 |
gr.Slider(minimum=0.0, maximum=2.0, step=0.1, value=1.0, label="Repetition penalty", render=False),
|
106 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
cache_examples=False,
|
108 |
)
|
109 |
|