Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
return filepath to gradio
Browse files
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 |
-
|
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",
|