m7mdal7aj commited on
Commit
5cb4610
1 Parent(s): fb7ac8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -38,7 +38,9 @@ def run_inference():
38
 
39
  if kbvqa:
40
  st.write("Model is ready for inference.")
41
- image_qa_app(kbvqa)
 
 
42
 
43
 
44
  def image_qa_app(kbvqa):
 
38
 
39
  if kbvqa:
40
  st.write("Model is ready for inference.")
41
+ image_qa_app(kbvqa)
42
+ else:
43
+ st.write("Please load the model first")
44
 
45
 
46
  def image_qa_app(kbvqa):