Pendrokar commited on
Commit
ad6d20f
β€’
1 Parent(s): 6299b6a

return filepath to gradio

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -108,10 +108,7 @@ def predict(input, pacing):
108
  with open('resources/app/server.log', 'r') as f:
109
  print(f.read())
110
 
111
- byte_data = None
112
- with open(save_path, "rb") as file:
113
- byte_data = file.read()
114
- return (22050, byte_data)
115
 
116
  input_textbox = gr.Textbox(
117
  label="Input Text",
 
108
  with open('resources/app/server.log', 'r') as f:
109
  print(f.read())
110
 
111
+ return (22050, save_path)
 
 
 
112
 
113
  input_textbox = gr.Textbox(
114
  label="Input Text",