Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
d966d7b
1
Parent(s):
4ac2b4f
disable loop by default and chat
Browse files- assets/config/default.yaml +5 -5
- assets/config/tikslop.yaml +3 -3
- lib/config/config.dart +2 -2
assets/config/default.yaml
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
ui:
|
2 |
product_name: AppName
|
3 |
-
|
4 |
|
5 |
-
|
6 |
# how many clips should be stored in advance
|
7 |
-
buffer_size:
|
8 |
|
9 |
# how many requests for clips can be run in parallel
|
10 |
max_concurrent_generations: 2
|
11 |
|
12 |
# start playback as soon as we have 1 video over 4 (25%)
|
13 |
-
minimum_buffer_percent_to_start_playback:
|
14 |
|
15 |
advertising:
|
16 |
enable_ads: false
|
@@ -22,7 +22,7 @@ advertising:
|
|
22 |
|
23 |
simulation:
|
24 |
# delay to wait after each simulation loop (in seconds)
|
25 |
-
sim_loop_delay_in_sec:
|
26 |
|
27 |
enable_sim_loop: false
|
28 |
|
|
|
1 |
ui:
|
2 |
product_name: AppName
|
3 |
+
show_chat_in_video_view: false
|
4 |
|
5 |
+
render_queue:
|
6 |
# how many clips should be stored in advance
|
7 |
+
buffer_size: 2
|
8 |
|
9 |
# how many requests for clips can be run in parallel
|
10 |
max_concurrent_generations: 2
|
11 |
|
12 |
# start playback as soon as we have 1 video over 4 (25%)
|
13 |
+
minimum_buffer_percent_to_start_playback: 5
|
14 |
|
15 |
advertising:
|
16 |
enable_ads: false
|
|
|
22 |
|
23 |
simulation:
|
24 |
# delay to wait after each simulation loop (in seconds)
|
25 |
+
sim_loop_delay_in_sec: 4
|
26 |
|
27 |
enable_sim_loop: false
|
28 |
|
assets/config/tikslop.yaml
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
ui:
|
2 |
product_name: "#tikslop"
|
3 |
-
|
4 |
|
5 |
render_queue:
|
6 |
# how many clips should be stored in advance
|
7 |
-
buffer_size:
|
8 |
|
9 |
# how many requests for clips can be run in parallel
|
10 |
max_concurrent_generations: 2
|
@@ -28,7 +28,7 @@ simulation:
|
|
28 |
enable_sim_loop: true
|
29 |
|
30 |
# delay to wait after each simulation loop (in seconds)
|
31 |
-
sim_loop_delay_in_sec:
|
32 |
|
33 |
# it's OK to use high values here,
|
34 |
# because some of those values are limited by the backend config,
|
|
|
1 |
ui:
|
2 |
product_name: "#tikslop"
|
3 |
+
show_chat_in_video_view: false
|
4 |
|
5 |
render_queue:
|
6 |
# how many clips should be stored in advance
|
7 |
+
buffer_size: 2
|
8 |
|
9 |
# how many requests for clips can be run in parallel
|
10 |
max_concurrent_generations: 2
|
|
|
28 |
enable_sim_loop: true
|
29 |
|
30 |
# delay to wait after each simulation loop (in seconds)
|
31 |
+
sim_loop_delay_in_sec: 4
|
32 |
|
33 |
# it's OK to use high values here,
|
34 |
# because some of those values are limited by the backend config,
|
lib/config/config.dart
CHANGED
@@ -65,7 +65,7 @@ class Configuration {
|
|
65 |
_config['ui']['product_name'];
|
66 |
|
67 |
bool get showChatInVideoView =>
|
68 |
-
_config['ui']['
|
69 |
|
70 |
// how many clips should be stored in advance
|
71 |
int get renderQueueBufferSize =>
|
@@ -130,7 +130,7 @@ class Configuration {
|
|
130 |
|
131 |
// Simulation settings
|
132 |
bool get enableSimLoop =>
|
133 |
-
_config['simulation']?['enable_sim_loop'] ??
|
134 |
|
135 |
int get simLoopDelayInSec =>
|
136 |
_config['simulation']?['sim_loop_delay_in_sec'] ?? 0;
|
|
|
65 |
_config['ui']['product_name'];
|
66 |
|
67 |
bool get showChatInVideoView =>
|
68 |
+
_config['ui']['show_chat_in_video_view'] ?? false;
|
69 |
|
70 |
// how many clips should be stored in advance
|
71 |
int get renderQueueBufferSize =>
|
|
|
130 |
|
131 |
// Simulation settings
|
132 |
bool get enableSimLoop =>
|
133 |
+
_config['simulation']?['enable_sim_loop'] ?? false;
|
134 |
|
135 |
int get simLoopDelayInSec =>
|
136 |
_config['simulation']?['sim_loop_delay_in_sec'] ?? 0;
|