Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -21,7 +21,9 @@ stream = Stream(
|
|
21 |
|
22 |
@stream.get("/")
|
23 |
async def index():
|
24 |
-
return RedirectResponse(
|
|
|
|
|
25 |
|
26 |
|
27 |
if __name__ == "__main__":
|
|
|
21 |
|
22 |
@stream.get("/")
|
23 |
async def index():
|
24 |
+
return RedirectResponse(
|
25 |
+
url="/ui" if not get_space() else "http://fastrtc-echo-audio.hf.space/ui/"
|
26 |
+
)
|
27 |
|
28 |
|
29 |
if __name__ == "__main__":
|