Reaper200 commited on
Commit
05dfa7e
·
verified ·
1 Parent(s): cdeff96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,10 +1,9 @@
1
  import streamlit as st
2
- from PIL import Image, ImageDraw
3
  import numpy as np
4
  import torch
5
  from transformers import DetrImageProcessor, DetrForObjectDetection
6
  from gtts import gTTS
7
- import os
8
 
9
  # Load the model and processor
10
  @st.cache_resource # Cache the model to improve performance
 
1
  import streamlit as st
2
+ from PIL import Image
3
  import numpy as np
4
  import torch
5
  from transformers import DetrImageProcessor, DetrForObjectDetection
6
  from gtts import gTTS
 
7
 
8
  # Load the model and processor
9
  @st.cache_resource # Cache the model to improve performance