Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -73,9 +73,9 @@ stream = Stream(
|
|
73 |
gr.Dropdown(choices=["chiahuahua", "dachshund", "golden-retriever"])
|
74 |
],
|
75 |
additional_outputs=[gr.JSON()],
|
76 |
-
rtc_configuration=
|
77 |
-
concurrency_limit=
|
78 |
-
time_limit=
|
79 |
)
|
80 |
|
81 |
|
|
|
73 |
gr.Dropdown(choices=["chiahuahua", "dachshund", "golden-retriever"])
|
74 |
],
|
75 |
additional_outputs=[gr.JSON()],
|
76 |
+
rtc_configuration=None,
|
77 |
+
concurrency_limit=20 if get_space() else None,
|
78 |
+
time_limit=600 if get_space() else None,
|
79 |
)
|
80 |
|
81 |
|