Spaces:
Sleeping
Sleeping
ZennethKenneth
commited on
Commit
•
1482961
1
Parent(s):
a5dd6db
close bracket
Browse files
app.py
CHANGED
@@ -53,4 +53,11 @@ athena = gr.ChatInterface(
|
|
53 |
""",
|
54 |
label="System message"
|
55 |
),
|
56 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
""",
|
54 |
label="System message"
|
55 |
),
|
56 |
+
gr.Slider(minimum=1, maximum=4096, value=512, step=1, label="Max new tokens"),
|
57 |
+
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
58 |
+
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
59 |
+
],
|
60 |
+
)
|
61 |
+
|
62 |
+
if __name__ == "__main__":
|
63 |
+
athena.launch()
|