Update app.py
Browse files
app.py
CHANGED
@@ -170,7 +170,7 @@ with gr.Blocks() as demo:
|
|
170 |
inputs=[image_input, query_input, assistant_prefix, decoding_strategy, temperature,
|
171 |
max_new_tokens, repetition_penalty, top_p],
|
172 |
outputs=output,
|
173 |
-
fn=model_inference
|
174 |
)
|
175 |
|
176 |
|
@@ -178,4 +178,4 @@ with gr.Blocks() as demo:
|
|
178 |
max_new_tokens, repetition_penalty, top_p], outputs=output)
|
179 |
|
180 |
|
181 |
-
demo.launch(debug=True
|
|
|
170 |
inputs=[image_input, query_input, assistant_prefix, decoding_strategy, temperature,
|
171 |
max_new_tokens, repetition_penalty, top_p],
|
172 |
outputs=output,
|
173 |
+
fn=model_inference, cache_examples=False
|
174 |
)
|
175 |
|
176 |
|
|
|
178 |
max_new_tokens, repetition_penalty, top_p], outputs=output)
|
179 |
|
180 |
|
181 |
+
demo.launch(debug=True)
|