Spaces:
Sleeping
Sleeping
Update predictions.py
Browse files- predictions.py +1 -1
predictions.py
CHANGED
@@ -30,7 +30,7 @@ def get_predictions(uploaded_image):
|
|
30 |
audio_data = narrated_text["audio"][0]
|
31 |
sample_rate = narrated_text["sampling_rate"]
|
32 |
|
33 |
-
return processed_image, (sample_rate, audio_data) #corrected_text
|
34 |
|
35 |
|
36 |
def correct_text(text):
|
|
|
30 |
audio_data = narrated_text["audio"][0]
|
31 |
sample_rate = narrated_text["sampling_rate"]
|
32 |
|
33 |
+
return processed_image,corrected_text, (sample_rate, audio_data) #corrected_text
|
34 |
|
35 |
|
36 |
def correct_text(text):
|