ariankhalfani commited on
Commit
88130e9
·
verified ·
1 Parent(s): 2f7fd35

Update LLMwithvoice.py

Browse files
Files changed (1) hide show
  1. LLMwithvoice.py +0 -1
LLMwithvoice.py CHANGED
@@ -53,7 +53,6 @@ def generate_speech(answer):
53
  sd.wait() # Wait until the audio is done playing
54
  except Exception as e:
55
  print(f"Error playing audio: {e}")
56
- # Handle the error, raise or log it, or provide an alternative approach
57
 
58
  def gradio_interface(api_token, prompt, context):
59
  answer = query_roberta(api_token, prompt, context)
 
53
  sd.wait() # Wait until the audio is done playing
54
  except Exception as e:
55
  print(f"Error playing audio: {e}")
 
56
 
57
  def gradio_interface(api_token, prompt, context):
58
  answer = query_roberta(api_token, prompt, context)