Spaces:
Sleeping
Sleeping
Update Traffic_Signs_Classification.py
Browse files
Traffic_Signs_Classification.py
CHANGED
@@ -47,4 +47,4 @@ if uploaded_file is not None:
|
|
47 |
with torch.no_grad():
|
48 |
output = model2(**inputs).waveform
|
49 |
|
50 |
-
st.audio(output.numpy())
|
|
|
47 |
with torch.no_grad():
|
48 |
output = model2(**inputs).waveform
|
49 |
|
50 |
+
st.audio(output.numpy(),sample_rate=model2.config.sampling_rate)
|