shingguy1 commited on
Commit
2e503f2
·
verified ·
1 Parent(s): 558e0dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
  # --- 1) MODEL LOADING (cached) -----------------------------------------------
2
  # Cache resources to avoid reloading models on every interaction
3
  @st.cache_resource
 
1
+
2
+ import io
3
+ import wave
4
+ import streamlit as st
5
+ from transformers import pipeline
6
+ from PIL import Image
7
+ import numpy as np
8
+
9
  # --- 1) MODEL LOADING (cached) -----------------------------------------------
10
  # Cache resources to avoid reloading models on every interaction
11
  @st.cache_resource