Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -163,6 +163,13 @@ top_p_component = gr.Slider(
|
|
163 |
"the next token (using temperature). "
|
164 |
))
|
165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
|
167 |
examples=[["I'm planning a vacation to India. Can you suggest a one-week itinerary including must-visit places and local cuisines to try?", None, None, None, None, None, ],
|
168 |
["Can you write a short story about a time-traveling detective who solves historical mysteries?", None, None, None, None, None,],
|
@@ -186,6 +193,7 @@ gr.ChatInterface(
|
|
186 |
),
|
187 |
title="LLAVA: Large Language Virtual Assistant",
|
188 |
description="Official Demo Of ```LLAVA``` based on ```Large Language Virtual Assistant ```.",
|
|
|
189 |
examples=examples,
|
190 |
concurrency_limit=20,
|
191 |
).launch(show_api=True)
|
|
|
163 |
"the next token (using temperature). "
|
164 |
))
|
165 |
|
166 |
+
bot_inputs = [
|
167 |
+
temperature_component,
|
168 |
+
max_output_tokens_component,
|
169 |
+
stop_sequences_component,
|
170 |
+
top_k_component,
|
171 |
+
top_p_component,
|
172 |
+
]
|
173 |
|
174 |
examples=[["I'm planning a vacation to India. Can you suggest a one-week itinerary including must-visit places and local cuisines to try?", None, None, None, None, None, ],
|
175 |
["Can you write a short story about a time-traveling detective who solves historical mysteries?", None, None, None, None, None,],
|
|
|
193 |
),
|
194 |
title="LLAVA: Large Language Virtual Assistant",
|
195 |
description="Official Demo Of ```LLAVA``` based on ```Large Language Virtual Assistant ```.",
|
196 |
+
Parameters=bot_inputs
|
197 |
examples=examples,
|
198 |
concurrency_limit=20,
|
199 |
).launch(show_api=True)
|