Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -310,7 +310,7 @@ if __name__ == "__main__":
|
|
| 310 |
gr.Markdown("## ✅ All models loaded successfully. Ready to use.")
|
| 311 |
with gr.Tabs():
|
| 312 |
for (title, example, speakers, tts_fn) in models:
|
| 313 |
-
|
| 314 |
-
|
| 315 |
|
| 316 |
app.queue().launch(share=args.share)
|
|
|
|
| 310 |
gr.Markdown("## ✅ All models loaded successfully. Ready to use.")
|
| 311 |
with gr.Tabs():
|
| 312 |
for (title, example, speakers, tts_fn) in models:
|
| 313 |
+
repid = f"{title}_{speakers[0]}" # หรือดึง repid จากที่อื่นก็ได้
|
| 314 |
+
create_tab(title, example, speakers, tts_fn, repid)
|
| 315 |
|
| 316 |
app.queue().launch(share=args.share)
|