Spaces:
Paused
Paused
fix gradio version 5.33 for compatibility
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -623,7 +623,7 @@ with gr.Blocks(css=css_code, title="VoiceBook Gradio Hub") as demo:
|
|
| 623 |
# 2. Book card click → load into player
|
| 624 |
def handle_book_select(title_chosen, current_inventory):
|
| 625 |
if not title_chosen:
|
| 626 |
-
return [gr.update()] *
|
| 627 |
selected = next((b for b in current_inventory if b["title"] == title_chosen), current_inventory[0])
|
| 628 |
|
| 629 |
player_html = f"""
|
|
|
|
| 623 |
# 2. Book card click → load into player
|
| 624 |
def handle_book_select(title_chosen, current_inventory):
|
| 625 |
if not title_chosen:
|
| 626 |
+
return [gr.update()] * 11
|
| 627 |
selected = next((b for b in current_inventory if b["title"] == title_chosen), current_inventory[0])
|
| 628 |
|
| 629 |
player_html = f"""
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio
|
| 2 |
transformers
|
| 3 |
torch
|
| 4 |
accelerate
|
|
|
|
| 1 |
+
gradio==5.33.0
|
| 2 |
transformers
|
| 3 |
torch
|
| 4 |
accelerate
|