Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,6 +55,12 @@ def generate(
|
|
55 |
|
56 |
|
57 |
additional_inputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
gr.Textbox(
|
59 |
label="System Prompt",
|
60 |
max_lines=1,
|
@@ -97,12 +103,7 @@ additional_inputs=[
|
|
97 |
interactive=True,
|
98 |
info="Penalize repeated tokens",
|
99 |
),
|
100 |
-
|
101 |
-
label="Agents",
|
102 |
-
choices=[s for s in agents],
|
103 |
-
value=agents[0],
|
104 |
-
interactive=True,
|
105 |
-
),
|
106 |
|
107 |
]
|
108 |
|
|
|
55 |
|
56 |
|
57 |
additional_inputs=[
|
58 |
+
gr.Dropdown(
|
59 |
+
label="Agents",
|
60 |
+
choices=[s for s in agents],
|
61 |
+
value=agents[0],
|
62 |
+
interactive=True,
|
63 |
+
),
|
64 |
gr.Textbox(
|
65 |
label="System Prompt",
|
66 |
max_lines=1,
|
|
|
103 |
interactive=True,
|
104 |
info="Penalize repeated tokens",
|
105 |
),
|
106 |
+
|
|
|
|
|
|
|
|
|
|
|
107 |
|
108 |
]
|
109 |
|