merve HF staff commited on
Commit
109d07a
1 Parent(s): f0bab8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, cache_examples=False)
 
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)