Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -631,7 +631,6 @@ def transcribe(audio_file):
|
|
631 |
|
632 |
# The response should be a dictionary with a 'text' key
|
633 |
return response["text"] if isinstance(response, dict) and "text" in response else str(response)
|
634 |
-
Make sure your InferenceClient is initialized correctly:
|
635 |
|
636 |
def vote(data: gr.LikeData):
|
637 |
if data.liked:
|
|
|
631 |
|
632 |
# The response should be a dictionary with a 'text' key
|
633 |
return response["text"] if isinstance(response, dict) and "text" in response else str(response)
|
|
|
634 |
|
635 |
def vote(data: gr.LikeData):
|
636 |
if data.liked:
|