Spaces:
Running
Running
ayan4m1
commited on
Commit
·
4b9df27
1
Parent(s):
9091051
fix: list wrapped in list accidentally
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ demo = gr.ChatInterface(
|
|
37 |
title="Prompt Enhancer Test",
|
38 |
type="messages",
|
39 |
additional_inputs=[
|
40 |
-
gr.Radio(
|
41 |
# gr.Textbox(value="Enhance the provided text so that it is more vibrant and detailed.", label="System prompt"),
|
42 |
gr.Slider(minimum=8, maximum=128, value=64, step=8, label="Max new tokens"),
|
43 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
|
|
37 |
title="Prompt Enhancer Test",
|
38 |
type="messages",
|
39 |
additional_inputs=[
|
40 |
+
gr.Radio(list(models.items()), value="pszemraj/distilgpt2-magicprompt-SD", type="value", label="Model"),
|
41 |
# gr.Textbox(value="Enhance the provided text so that it is more vibrant and detailed.", label="System prompt"),
|
42 |
gr.Slider(minimum=8, maximum=128, value=64, step=8, label="Max new tokens"),
|
43 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|