rohan13 commited on
Commit
5063263
Β·
1 Parent(s): 8459f03

reverting share

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def fill_input_textbox(history, audio):
36
  myobj.save("response.wav")
37
  # split audio by / and keep the last element
38
  # audio = audio.split("/")[-1]
39
- # audio = audio + ".wav"
40
  history = history + [((audio, ), ('response.wav', ))]
41
  print(history)
42
  return history
@@ -67,4 +67,4 @@ with gr.Blocks() as demo:
67
  )
68
 
69
  if __name__ == "__main__":
70
- demo.launch(share=True)
 
36
  myobj.save("response.wav")
37
  # split audio by / and keep the last element
38
  # audio = audio.split("/")[-1]
39
+ audio = audio + ".wav"
40
  history = history + [((audio, ), ('response.wav', ))]
41
  print(history)
42
  return history
 
67
  )
68
 
69
  if __name__ == "__main__":
70
+ demo.launch()