Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ top_p_component = gr.Slider(
|
|
163 |
"the next token (using temperature). "
|
164 |
))
|
165 |
|
166 |
-
|
167 |
temperature_component,
|
168 |
max_output_tokens_component,
|
169 |
stop_sequences_component,
|
@@ -193,7 +193,7 @@ gr.ChatInterface(
|
|
193 |
),
|
194 |
title="LLAVA: Large Language Virtual Assistant",
|
195 |
description="Official Demo Of ```LLAVA``` based on ```Large Language Virtual Assistant ```.",
|
196 |
-
|
197 |
examples=examples,
|
198 |
concurrency_limit=20,
|
199 |
).launch(show_api=True)
|
|
|
163 |
"the next token (using temperature). "
|
164 |
))
|
165 |
|
166 |
+
additional_inputs = [
|
167 |
temperature_component,
|
168 |
max_output_tokens_component,
|
169 |
stop_sequences_component,
|
|
|
193 |
),
|
194 |
title="LLAVA: Large Language Virtual Assistant",
|
195 |
description="Official Demo Of ```LLAVA``` based on ```Large Language Virtual Assistant ```.",
|
196 |
+
additional_inputs=additional_inputs,
|
197 |
examples=examples,
|
198 |
concurrency_limit=20,
|
199 |
).launch(show_api=True)
|