wiusdy commited on
Commit
a2b3a50
1 Parent(s): 49f9a57

solving bugs

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ with gr.Blocks() as block:
17
 
18
  frame_path = os.path.join(os.path.dirname(__file__), "testing.jpg")
19
  frame = Image.open(frame_path)
20
- inference.logger.info(f"Image loaded {frame.shape}")
21
  image = gr.Image(type="pil", value=frame)
22
 
23
  btn.click(inference.inference, inputs=[options, image, txt], outputs=[txt_3])
 
17
 
18
  frame_path = os.path.join(os.path.dirname(__file__), "testing.jpg")
19
  frame = Image.open(frame_path)
20
+ inference.logger.info(f"Image loaded {frame.size}")
21
  image = gr.Image(type="pil", value=frame)
22
 
23
  btn.click(inference.inference, inputs=[options, image, txt], outputs=[txt_3])