Spaces:
Runtime error
Runtime error
Enrico Shippole commited on
Commit ·
2988fa3
1
Parent(s): 9224f39
Add initial gradio setup
Browse files
app.py
CHANGED
|
@@ -37,12 +37,10 @@ iface = gr.Interface(
|
|
| 37 |
title="PaLM",
|
| 38 |
description="Open-source PaLM demo.",
|
| 39 |
inputs="text",
|
| 40 |
-
outputs="text"
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
gr.Slider(minimum=0.0, maximum=1.0, step=0.01, default=0.9, label="Filter Threshold"),
|
| 45 |
-
],
|
| 46 |
)
|
| 47 |
|
| 48 |
iface.launch()
|
|
|
|
| 37 |
title="PaLM",
|
| 38 |
description="Open-source PaLM demo.",
|
| 39 |
inputs="text",
|
| 40 |
+
outputs="text",
|
| 41 |
+
seq_len=gr.Slider(minimum=1, maximum=512, step=1, default=128, label="Sequence Length"),
|
| 42 |
+
temperature=gr.Slider(minimum=0.0, maximum=1.0, step=0.01, default=0.9, label="Temperature"),
|
| 43 |
+
filter_thres=gr.Slider(minimum=0.0, maximum=1.0, step=0.01, default=0.9, label="Filter Threshold"),
|
|
|
|
|
|
|
| 44 |
)
|
| 45 |
|
| 46 |
iface.launch()
|