Shreyas094 commited on
Commit
079dfd1
·
verified ·
1 Parent(s): 2ef7120

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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: