mirror of
https://github.com/SWivid/F5-TTS.git
synced 2025-12-30 14:42:13 -08:00
Fix for HF Spaces demo
This commit is contained in:
@@ -788,4 +788,7 @@ def main(port, host, share, api):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
if not USING_SPACES:
|
||||
main()
|
||||
else:
|
||||
app.queue().launch()
|
||||
|
||||
Reference in New Issue
Block a user