Spaces:
Build error
Build error
Fix broken Space: Update dependencies and Gradio 4 compatibility
#257
by
akseljoonas HF Staff - opened
README.md
CHANGED
|
@@ -4,8 +4,8 @@ emoji: πΆ
|
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
python_version: 3.
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
license: cc-by-nc-4.0
|
|
|
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.29.0
|
| 8 |
+
python_version: "3.10"
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
license: cc-by-nc-4.0
|
app.py
CHANGED
|
@@ -183,7 +183,7 @@ with gr.Blocks(css=css) as block:
|
|
| 183 |
loading_icon = gr.HTML(loading_icon_html)
|
| 184 |
share_button = gr.Button(
|
| 185 |
"Share to community", elem_id="share-btn")
|
| 186 |
-
share_button.click(None, [], [],
|
| 187 |
inputs = [input_text, options]
|
| 188 |
outputs = [audio_out]
|
| 189 |
gr.Examples(examples=examples, fn=gen_tts, inputs=inputs,
|
|
|
|
| 183 |
loading_icon = gr.HTML(loading_icon_html)
|
| 184 |
share_button = gr.Button(
|
| 185 |
"Share to community", elem_id="share-btn")
|
| 186 |
+
share_button.click(None, [], [], js=share_js)
|
| 187 |
inputs = [input_text, options]
|
| 188 |
outputs = [audio_out]
|
| 189 |
gr.Examples(examples=examples, fn=gen_tts, inputs=inputs,
|