jbilcke-hf HF Staff commited on
Commit
5ca5f4b
·
1 Parent(s): 6c71972

add gooner protection

Browse files
api_config.py CHANGED
@@ -94,8 +94,8 @@ CONFIG_FOR_STANDARD_HF_USERS = {
94
  "max_num_inference_steps": 4,
95
 
96
  "min_num_frames": 9, # 8 + 1
97
- "default_num_frames": 65, # 8*8 + 1
98
- "max_num_frames": 65,
99
 
100
  "min_clip_duration_seconds": 1,
101
  "default_clip_duration_seconds": 2,
@@ -114,8 +114,8 @@ CONFIG_FOR_STANDARD_HF_USERS = {
114
  "max_clip_width": 768, # 640,
115
 
116
  "min_clip_height": 320,
117
- "default_clip_height": 480, # 416,
118
- "max_clip_height": 480, # 416,
119
  }
120
 
121
  # Hugging Face users with a Pro may enjoy an improved experience
@@ -127,8 +127,8 @@ CONFIG_FOR_PRO_HF_USERS = {
127
  "max_num_inference_steps": 4,
128
 
129
  "min_num_frames": 9, # 8 + 1
130
- "default_num_frames": 65, # 8*8 + 1
131
- "max_num_frames": 65,
132
 
133
  "min_clip_duration_seconds": 1,
134
  "default_clip_duration_seconds": 2,
@@ -147,8 +147,8 @@ CONFIG_FOR_PRO_HF_USERS = {
147
  "max_clip_width": 768, # 640,
148
 
149
  "min_clip_height": 320,
150
- "default_clip_height": 480, # 416,
151
- "max_clip_height": 480, # 416,
152
  }
153
 
154
  CONFIG_FOR_ADMIN_HF_USERS = {
@@ -159,7 +159,7 @@ CONFIG_FOR_ADMIN_HF_USERS = {
159
  "max_num_inference_steps": 8,
160
 
161
  "min_num_frames": 9, # 8 + 1
162
- "default_num_frames": 65, # (8 * 8) + 1
163
  "max_num_frames": 129, # (8 * 16) + 1
164
 
165
  "min_clip_duration_seconds": 1,
 
94
  "max_num_inference_steps": 4,
95
 
96
  "min_num_frames": 9, # 8 + 1
97
+ "default_num_frames": 81, # 8*10 + 1
98
+ "max_num_frames": 81,
99
 
100
  "min_clip_duration_seconds": 1,
101
  "default_clip_duration_seconds": 2,
 
114
  "max_clip_width": 768, # 640,
115
 
116
  "min_clip_height": 320,
117
+ "default_clip_height": 448, # 416,
118
+ "max_clip_height": 448, # 416,
119
  }
120
 
121
  # Hugging Face users with a Pro may enjoy an improved experience
 
127
  "max_num_inference_steps": 4,
128
 
129
  "min_num_frames": 9, # 8 + 1
130
+ "default_num_frames": 81, # 8*10 + 1
131
+ "max_num_frames": 81,
132
 
133
  "min_clip_duration_seconds": 1,
134
  "default_clip_duration_seconds": 2,
 
147
  "max_clip_width": 768, # 640,
148
 
149
  "min_clip_height": 320,
150
+ "default_clip_height": 448, # 416,
151
+ "max_clip_height": 448, # 416,
152
  }
153
 
154
  CONFIG_FOR_ADMIN_HF_USERS = {
 
159
  "max_num_inference_steps": 8,
160
 
161
  "min_num_frames": 9, # 8 + 1
162
+ "default_num_frames": 81, # (8 * 10) + 1
163
  "max_num_frames": 129, # (8 * 16) + 1
164
 
165
  "min_clip_duration_seconds": 1,
api_core.py CHANGED
@@ -176,7 +176,7 @@ class EndpointManager:
176
  # Mark it as busy
177
  endpoint.busy = True
178
  endpoint.last_used = time.time()
179
- logger.info(f"Using endpoint {endpoint.id} (busy: {endpoint.busy}, last used: {endpoint.last_used})")
180
  break
181
 
182
  yield endpoint
@@ -687,13 +687,13 @@ Your caption:"""
687
  # Consider 17 or 18 to be visually lossless or nearly so;
688
  # it should look the same or nearly the same as the input but it isn't technically lossless.
689
  # The range is exponential, so increasing the CRF value +6 results in roughly half the bitrate / file size, while -6 leads to roughly twice the bitrate.
690
- "quality": 23,
691
 
692
  }
693
  }
694
 
695
  async with self.endpoint_manager.get_endpoint() as endpoint:
696
- logger.info(f"Using endpoint {endpoint.id} for video generation")
697
 
698
  try:
699
  async with ClientSession() as session:
@@ -705,7 +705,7 @@ Your caption:"""
705
  "Content-Type": "application/json"
706
  },
707
  json=json_payload,
708
- timeout=10 # Fast generation should complete within 10 seconds
709
  ) as response:
710
  if response.status != 200:
711
  error_text = await response.text()
 
176
  # Mark it as busy
177
  endpoint.busy = True
178
  endpoint.last_used = time.time()
179
+ #logger.info(f"Using endpoint {endpoint.id} (busy: {endpoint.busy}, last used: {endpoint.last_used})")
180
  break
181
 
182
  yield endpoint
 
687
  # Consider 17 or 18 to be visually lossless or nearly so;
688
  # it should look the same or nearly the same as the input but it isn't technically lossless.
689
  # The range is exponential, so increasing the CRF value +6 results in roughly half the bitrate / file size, while -6 leads to roughly twice the bitrate.
690
+ #"quality": 23,
691
 
692
  }
693
  }
694
 
695
  async with self.endpoint_manager.get_endpoint() as endpoint:
696
+ #logger.info(f"Using endpoint {endpoint.id} for video generation")
697
 
698
  try:
699
  async with ClientSession() as session:
 
705
  "Content-Type": "application/json"
706
  },
707
  json=json_payload,
708
+ timeout=8 # Fast generation should complete within 8 seconds
709
  ) as response:
710
  if response.status != 200:
711
  error_text = await response.text()
assets/config/README.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ Those config files correspond to different default values for the Flutter client.
2
+
3
+ However the server will also enforce some settings.
assets/config/aitube.yaml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ui:
2
+ product_name: AiTube
3
+ showChatInVideoView: false
4
+
5
+ render_queue:
6
+ # how many clips should be stored in advance
7
+ buffer_size: 3
8
+
9
+ # how many requests for clips can be run in parallel
10
+ max_concurrent_generations: 3
11
+
12
+ # start playback as soon as we have 1 video over 3 (25%)
13
+ minimum_buffer_percent_to_start_playback: 5
14
+
15
+ video:
16
+ # default negative prompt to filter harmful content
17
+ default_negative_prompt: "gore, sex, blood, nudity, nude, porn, erotic, worst quality, deformed, distorted, disfigured, blurry, text, watermark"
18
+
19
+ # transition time between each clip
20
+ # the exit (older) clip will see its playback time reduced by this amount
21
+ transition_buffer_duration_ms: 300
22
+
23
+ # how long a generated clip should be, in Duration
24
+ original_clip_duration_seconds: 4
25
+
26
+ # The model works on resolutions that are divisible by 32
27
+ # and number of frames that are divisible by 8 + 1 (e.g. 257).
28
+ #
29
+ # In case the resolution or number of frames are not divisible
30
+ # by 32 or 8 + 1, the input will be padded with -1 and then
31
+ # cropped to the desired resolution and number of frames.
32
+ #
33
+ # The model works best on resolutions under 720 x 1280 and
34
+ # number of frames below 257.
35
+
36
+ # number of inference steps
37
+ num_inference_steps: 8
38
+
39
+ guidance_scale: 1.0
40
+
41
+ # original frame-rate of each clip (before we slow them down)
42
+ # in frames per second (so an integer)
43
+ original_clip_frame_rate: 25
44
+
45
+ original_clip_width: 768 # 544
46
+ original_clip_height: 448 # 320
47
+
48
+ # to do more with less, we slow down the videos (a 3s video will become a 4s video)
49
+ # but if you are GPU rich feel feel to play them back at 100% of their speed!
50
+ clip_playback_speed: 0.7
assets/config/default.yaml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ui:
2
+ product_name: AppName
3
+ showChatInVideoView: true
4
+
5
+ render_queue:
6
+ # how many clips should be stored in advance
7
+ buffer_size: 4
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: 25
14
+
15
+ video:
16
+ # default negative prompt to filter harmful content
17
+ default_negative_prompt: "gore, sex, blood, nudity, nude, porn, erotic, worst quality, deformed, distorted, disfigured, blurry, text, watermark"
18
+
19
+ # transition time between each clip
20
+ # the exit (older) clip will see its playback time reduced by this amount
21
+ transition_buffer_duration_ms: 300
22
+
23
+ # how long a generated clip should be, in Duration
24
+ original_clip_duration_seconds: 4
25
+
26
+ # The model works on resolutions that are divisible by 32
27
+ # and number of frames that are divisible by 8 + 1 (e.g. 257).
28
+ #
29
+ # In case the resolution or number of frames are not divisible
30
+ # by 32 or 8 + 1, the input will be padded with -1 and then
31
+ # cropped to the desired resolution and number of frames.
32
+ #
33
+ # The model works best on resolutions under 720 x 1280 and
34
+ # number of frames below 257.
35
+
36
+ # number of inference steps
37
+ # this has a direct impact in performance obviously,
38
+ # you can try to go to low values like 12 or 14 on "safe bet" prompts,
39
+ # but if you need a more uncommon topic, you need to go to 18 steps or more
40
+ num_inference_steps: 4
41
+
42
+ guidance_scale: 1.0
43
+
44
+ # original frame-rate of each clip (before we slow them down)
45
+ # in frames per second (so an integer)
46
+ original_clip_frame_rate: 25
47
+
48
+ original_clip_width: 544
49
+ original_clip_height: 320
50
+
51
+ # to do more with less, we slow down the videos (a 3s video will become a 4s video)
52
+ # but if you are GPU rich feel feel to play them back at 100% of their speed!
53
+ clip_playback_speed: 0.7
build/web/assets/NOTICES CHANGED
@@ -9689,6 +9689,211 @@ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
9689
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
9690
  FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
9691
  IN THE MATERIALS.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9692
  --------------------------------------------------------------------------------
9693
  harfbuzz
9694
 
 
9689
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
9690
  FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
9691
  IN THE MATERIALS.
9692
+ --------------------------------------------------------------------------------
9693
+ google_fonts
9694
+
9695
+ Apache License
9696
+ Version 2.0, January 2004
9697
+ http://www.apache.org/licenses/
9698
+
9699
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
9700
+
9701
+ 1. Definitions.
9702
+
9703
+ "License" shall mean the terms and conditions for use, reproduction,
9704
+ and distribution as defined by Sections 1 through 9 of this document.
9705
+
9706
+ "Licensor" shall mean the copyright owner or entity authorized by
9707
+ the copyright owner that is granting the License.
9708
+
9709
+ "Legal Entity" shall mean the union of the acting entity and all
9710
+ other entities that control, are controlled by, or are under common
9711
+ control with that entity. For the purposes of this definition,
9712
+ "control" means (i) the power, direct or indirect, to cause the
9713
+ direction or management of such entity, whether by contract or
9714
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
9715
+ outstanding shares, or (iii) beneficial ownership of such entity.
9716
+
9717
+ "You" (or "Your") shall mean an individual or Legal Entity
9718
+ exercising permissions granted by this License.
9719
+
9720
+ "Source" form shall mean the preferred form for making modifications,
9721
+ including but not limited to software source code, documentation
9722
+ source, and configuration files.
9723
+
9724
+ "Object" form shall mean any form resulting from mechanical
9725
+ transformation or translation of a Source form, including but
9726
+ not limited to compiled object code, generated documentation,
9727
+ and conversions to other media types.
9728
+
9729
+ "Work" shall mean the work of authorship, whether in Source or
9730
+ Object form, made available under the License, as indicated by a
9731
+ copyright notice that is included in or attached to the work
9732
+ (an example is provided in the Appendix below).
9733
+
9734
+ "Derivative Works" shall mean any work, whether in Source or Object
9735
+ form, that is based on (or derived from) the Work and for which the
9736
+ editorial revisions, annotations, elaborations, or other modifications
9737
+ represent, as a whole, an original work of authorship. For the purposes
9738
+ of this License, Derivative Works shall not include works that remain
9739
+ separable from, or merely link (or bind by name) to the interfaces of,
9740
+ the Work and Derivative Works thereof.
9741
+
9742
+ "Contribution" shall mean any work of authorship, including
9743
+ the original version of the Work and any modifications or additions
9744
+ to that Work or Derivative Works thereof, that is intentionally
9745
+ submitted to Licensor for inclusion in the Work by the copyright owner
9746
+ or by an individual or Legal Entity authorized to submit on behalf of
9747
+ the copyright owner. For the purposes of this definition, "submitted"
9748
+ means any form of electronic, verbal, or written communication sent
9749
+ to the Licensor or its representatives, including but not limited to
9750
+ communication on electronic mailing lists, source code control systems,
9751
+ and issue tracking systems that are managed by, or on behalf of, the
9752
+ Licensor for the purpose of discussing and improving the Work, but
9753
+ excluding communication that is conspicuously marked or otherwise
9754
+ designated in writing by the copyright owner as "Not a Contribution."
9755
+
9756
+ "Contributor" shall mean Licensor and any individual or Legal Entity
9757
+ on behalf of whom a Contribution has been received by Licensor and
9758
+ subsequently incorporated within the Work.
9759
+
9760
+ 2. Grant of Copyright License. Subject to the terms and conditions of
9761
+ this License, each Contributor hereby grants to You a perpetual,
9762
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
9763
+ copyright license to reproduce, prepare Derivative Works of,
9764
+ publicly display, publicly perform, sublicense, and distribute the
9765
+ Work and such Derivative Works in Source or Object form.
9766
+
9767
+ 3. Grant of Patent License. Subject to the terms and conditions of
9768
+ this License, each Contributor hereby grants to You a perpetual,
9769
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
9770
+ (except as stated in this section) patent license to make, have made,
9771
+ use, offer to sell, sell, import, and otherwise transfer the Work,
9772
+ where such license applies only to those patent claims licensable
9773
+ by such Contributor that are necessarily infringed by their
9774
+ Contribution(s) alone or by combination of their Contribution(s)
9775
+ with the Work to which such Contribution(s) was submitted. If You
9776
+ institute patent litigation against any entity (including a
9777
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
9778
+ or a Contribution incorporated within the Work constitutes direct
9779
+ or contributory patent infringement, then any patent licenses
9780
+ granted to You under this License for that Work shall terminate
9781
+ as of the date such litigation is filed.
9782
+
9783
+ 4. Redistribution. You may reproduce and distribute copies of the
9784
+ Work or Derivative Works thereof in any medium, with or without
9785
+ modifications, and in Source or Object form, provided that You
9786
+ meet the following conditions:
9787
+
9788
+ (a) You must give any other recipients of the Work or
9789
+ Derivative Works a copy of this License; and
9790
+
9791
+ (b) You must cause any modified files to carry prominent notices
9792
+ stating that You changed the files; and
9793
+
9794
+ (c) You must retain, in the Source form of any Derivative Works
9795
+ that You distribute, all copyright, patent, trademark, and
9796
+ attribution notices from the Source form of the Work,
9797
+ excluding those notices that do not pertain to any part of
9798
+ the Derivative Works; and
9799
+
9800
+ (d) If the Work includes a "NOTICE" text file as part of its
9801
+ distribution, then any Derivative Works that You distribute must
9802
+ include a readable copy of the attribution notices contained
9803
+ within such NOTICE file, excluding those notices that do not
9804
+ pertain to any part of the Derivative Works, in at least one
9805
+ of the following places: within a NOTICE text file distributed
9806
+ as part of the Derivative Works; within the Source form or
9807
+ documentation, if provided along with the Derivative Works; or,
9808
+ within a display generated by the Derivative Works, if and
9809
+ wherever such third-party notices normally appear. The contents
9810
+ of the NOTICE file are for informational purposes only and
9811
+ do not modify the License. You may add Your own attribution
9812
+ notices within Derivative Works that You distribute, alongside
9813
+ or as an addendum to the NOTICE text from the Work, provided
9814
+ that such additional attribution notices cannot be construed
9815
+ as modifying the License.
9816
+
9817
+ You may add Your own copyright statement to Your modifications and
9818
+ may provide additional or different license terms and conditions
9819
+ for use, reproduction, or distribution of Your modifications, or
9820
+ for any such Derivative Works as a whole, provided Your use,
9821
+ reproduction, and distribution of the Work otherwise complies with
9822
+ the conditions stated in this License.
9823
+
9824
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
9825
+ any Contribution intentionally submitted for inclusion in the Work
9826
+ by You to the Licensor shall be under the terms and conditions of
9827
+ this License, without any additional terms or conditions.
9828
+ Notwithstanding the above, nothing herein shall supersede or modify
9829
+ the terms of any separate license agreement you may have executed
9830
+ with Licensor regarding such Contributions.
9831
+
9832
+ 6. Trademarks. This License does not grant permission to use the trade
9833
+ names, trademarks, service marks, or product names of the Licensor,
9834
+ except as required for reasonable and customary use in describing the
9835
+ origin of the Work and reproducing the content of the NOTICE file.
9836
+
9837
+ 7. Disclaimer of Warranty. Unless required by applicable law or
9838
+ agreed to in writing, Licensor provides the Work (and each
9839
+ Contributor provides its Contributions) on an "AS IS" BASIS,
9840
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
9841
+ implied, including, without limitation, any warranties or conditions
9842
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
9843
+ PARTICULAR PURPOSE. You are solely responsible for determining the
9844
+ appropriateness of using or redistributing the Work and assume any
9845
+ risks associated with Your exercise of permissions under this License.
9846
+
9847
+ 8. Limitation of Liability. In no event and under no legal theory,
9848
+ whether in tort (including negligence), contract, or otherwise,
9849
+ unless required by applicable law (such as deliberate and grossly
9850
+ negligent acts) or agreed to in writing, shall any Contributor be
9851
+ liable to You for damages, including any direct, indirect, special,
9852
+ incidental, or consequential damages of any character arising as a
9853
+ result of this License or out of the use or inability to use the
9854
+ Work (including but not limited to damages for loss of goodwill,
9855
+ work stoppage, computer failure or malfunction, or any and all
9856
+ other commercial damages or losses), even if such Contributor
9857
+ has been advised of the possibility of such damages.
9858
+
9859
+ 9. Accepting Warranty or Additional Liability. While redistributing
9860
+ the Work or Derivative Works thereof, You may choose to offer,
9861
+ and charge a fee for, acceptance of support, warranty, indemnity,
9862
+ or other liability obligations and/or rights consistent with this
9863
+ License. However, in accepting such obligations, You may act only
9864
+ on Your own behalf and on Your sole responsibility, not on behalf
9865
+ of any other Contributor, and only if You agree to indemnify,
9866
+ defend, and hold each Contributor harmless for any liability
9867
+ incurred by, or claims asserted against, such Contributor by reason
9868
+ of your accepting any such warranty or additional liability.
9869
+
9870
+ END OF TERMS AND CONDITIONS
9871
+
9872
+ APPENDIX: How to apply the Apache License to your work.
9873
+
9874
+ To apply the Apache License to your work, attach the following
9875
+ boilerplate notice, with the fields enclosed by brackets "[]"
9876
+ replaced with your own identifying information. (Don't include
9877
+ the brackets!) The text should be enclosed in the appropriate
9878
+ comment syntax for the file format. We also recommend that a
9879
+ file or class name and description of purpose be included on the
9880
+ same "printed page" as the copyright notice for easier
9881
+ identification within third-party archives.
9882
+
9883
+ Copyright [yyyy] [name of copyright owner]
9884
+
9885
+ Licensed under the Apache License, Version 2.0 (the "License");
9886
+ you may not use this file except in compliance with the License.
9887
+ You may obtain a copy of the License at
9888
+
9889
+ http://www.apache.org/licenses/LICENSE-2.0
9890
+
9891
+ Unless required by applicable law or agreed to in writing, software
9892
+ distributed under the License is distributed on an "AS IS" BASIS,
9893
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9894
+ See the License for the specific language governing permissions and
9895
+ limitations under the License.
9896
+
9897
  --------------------------------------------------------------------------------
9898
  harfbuzz
9899
 
build/web/assets/assets/config/aitube_low.yaml CHANGED
@@ -19,7 +19,7 @@ video:
19
  transition_buffer_duration_ms: 300
20
 
21
  # how long a generated clip should be, in Duration
22
- original_clip_duration_seconds: 3
23
 
24
  # The model works on resolutions that are divisible by 32
25
  # and number of frames that are divisible by 8 + 1 (e.g. 257).
@@ -41,8 +41,8 @@ video:
41
  original_clip_frame_rate: 25
42
 
43
  original_clip_width: 768 # 544
44
- original_clip_height: 480 # 320
45
 
46
  # to do more with less, we slow down the videos (a 3s video will become a 4s video)
47
  # but if you are GPU rich feel feel to play them back at 100% of their speed!
48
- clip_playback_speed: 0.8
 
19
  transition_buffer_duration_ms: 300
20
 
21
  # how long a generated clip should be, in Duration
22
+ original_clip_duration_seconds: 4
23
 
24
  # The model works on resolutions that are divisible by 32
25
  # and number of frames that are divisible by 8 + 1 (e.g. 257).
 
41
  original_clip_frame_rate: 25
42
 
43
  original_clip_width: 768 # 544
44
+ original_clip_height: 448 # 320
45
 
46
  # to do more with less, we slow down the videos (a 3s video will become a 4s video)
47
  # but if you are GPU rich feel feel to play them back at 100% of their speed!
48
+ clip_playback_speed: 0.7
build/web/assets/fonts/MaterialIcons-Regular.otf CHANGED
Binary files a/build/web/assets/fonts/MaterialIcons-Regular.otf and b/build/web/assets/fonts/MaterialIcons-Regular.otf differ
 
build/web/flutter_bootstrap.js CHANGED
@@ -39,6 +39,6 @@ _flutter.buildConfig = {"engineRevision":"382be0028d370607f76215a9be322e5514b263
39
 
40
  _flutter.loader.load({
41
  serviceWorkerSettings: {
42
- serviceWorkerVersion: "4223262512"
43
  }
44
  });
 
39
 
40
  _flutter.loader.load({
41
  serviceWorkerSettings: {
42
+ serviceWorkerVersion: "794883524"
43
  }
44
  });
build/web/flutter_service_worker.js CHANGED
@@ -3,11 +3,11 @@ const MANIFEST = 'flutter-app-manifest';
3
  const TEMP = 'flutter-temp-cache';
4
  const CACHE_NAME = 'flutter-app-cache';
5
 
6
- const RESOURCES = {"flutter_bootstrap.js": "c93f6411e1218a720bdf1a024b693aa2",
7
  "version.json": "b5eaae4fc120710a3c35125322173615",
8
  "index.html": "f34c56fffc6b38f62412a5db2315dec8",
9
  "/": "f34c56fffc6b38f62412a5db2315dec8",
10
- "main.dart.js": "006fa064c19ba19242dda13fb6745d69",
11
  "flutter.js": "83d881c1dbb6d6bcd6b42e274605b69c",
12
  "favicon.png": "5dcef449791fa27946b3d35ad8803796",
13
  "icons/Icon-192.png": "ac9a721a12bbc803b44f645561ecb1e1",
@@ -16,18 +16,18 @@ const RESOURCES = {"flutter_bootstrap.js": "c93f6411e1218a720bdf1a024b693aa2",
16
  "icons/Icon-512.png": "96e752610906ba2a93c65f8abe1645f1",
17
  "manifest.json": "7dc942a630334c1017089988a6ca07d4",
18
  "assets/AssetManifest.json": "b2202b29892f6fb630f40ab2f4950300",
19
- "assets/NOTICES": "88e46df57c7d48d6b68bd2505bf0e33d",
20
  "assets/FontManifest.json": "dc3d03800ccca4601324923c0b1d6d57",
21
  "assets/AssetManifest.bin.json": "b6a02db76c67a9b7f4f2e1623f91dcb7",
22
  "assets/packages/cupertino_icons/assets/CupertinoIcons.ttf": "33b7d9392238c04c131b6ce224e13711",
23
  "assets/shaders/ink_sparkle.frag": "ecc85a2e95f5e9f53123dcaf8cb9b6ce",
24
  "assets/AssetManifest.bin": "5894fe5676e62dc22403a833f2313e43",
25
- "assets/fonts/MaterialIcons-Regular.otf": "5dbbac66f1ff997124c876ea5f0a049d",
26
  "assets/assets/config/private.yaml": "97a9ec367206bea5dce64faf94b66332",
27
  "assets/assets/config/README.md": "07a87720dd00dd1ca98c9d6884440e31",
28
  "assets/assets/config/aitube_high.yaml": "c030f221344557ecf05aeef30f224502",
29
  "assets/assets/config/default.yaml": "e98187e5a53a8b0d8bf2c5cd9dd0a365",
30
- "assets/assets/config/aitube_low.yaml": "c8f3c74fd45676ea6402c9fcfc1292f3",
31
  "canvaskit/skwasm.js": "ea559890a088fe28b4ddf70e17e60052",
32
  "canvaskit/skwasm.js.symbols": "9fe690d47b904d72c7d020bd303adf16",
33
  "canvaskit/canvaskit.js.symbols": "27361387bc24144b46a745f1afe92b50",
 
3
  const TEMP = 'flutter-temp-cache';
4
  const CACHE_NAME = 'flutter-app-cache';
5
 
6
+ const RESOURCES = {"flutter_bootstrap.js": "a1978150e41f01842b52df7eb3c181aa",
7
  "version.json": "b5eaae4fc120710a3c35125322173615",
8
  "index.html": "f34c56fffc6b38f62412a5db2315dec8",
9
  "/": "f34c56fffc6b38f62412a5db2315dec8",
10
+ "main.dart.js": "aaaecee8e349d51552b33c8f81812c5c",
11
  "flutter.js": "83d881c1dbb6d6bcd6b42e274605b69c",
12
  "favicon.png": "5dcef449791fa27946b3d35ad8803796",
13
  "icons/Icon-192.png": "ac9a721a12bbc803b44f645561ecb1e1",
 
16
  "icons/Icon-512.png": "96e752610906ba2a93c65f8abe1645f1",
17
  "manifest.json": "7dc942a630334c1017089988a6ca07d4",
18
  "assets/AssetManifest.json": "b2202b29892f6fb630f40ab2f4950300",
19
+ "assets/NOTICES": "f0cfae681e209e19b2b144a9f062a96f",
20
  "assets/FontManifest.json": "dc3d03800ccca4601324923c0b1d6d57",
21
  "assets/AssetManifest.bin.json": "b6a02db76c67a9b7f4f2e1623f91dcb7",
22
  "assets/packages/cupertino_icons/assets/CupertinoIcons.ttf": "33b7d9392238c04c131b6ce224e13711",
23
  "assets/shaders/ink_sparkle.frag": "ecc85a2e95f5e9f53123dcaf8cb9b6ce",
24
  "assets/AssetManifest.bin": "5894fe5676e62dc22403a833f2313e43",
25
+ "assets/fonts/MaterialIcons-Regular.otf": "98b0ef6d6144942ca89cc207f3e08986",
26
  "assets/assets/config/private.yaml": "97a9ec367206bea5dce64faf94b66332",
27
  "assets/assets/config/README.md": "07a87720dd00dd1ca98c9d6884440e31",
28
  "assets/assets/config/aitube_high.yaml": "c030f221344557ecf05aeef30f224502",
29
  "assets/assets/config/default.yaml": "e98187e5a53a8b0d8bf2c5cd9dd0a365",
30
+ "assets/assets/config/aitube_low.yaml": "462167d380f349ce42a272b7d61e2220",
31
  "canvaskit/skwasm.js": "ea559890a088fe28b4ddf70e17e60052",
32
  "canvaskit/skwasm.js.symbols": "9fe690d47b904d72c7d020bd303adf16",
33
  "canvaskit/canvaskit.js.symbols": "27361387bc24144b46a745f1afe92b50",
build/web/main.dart.js CHANGED
The diff for this file is too large to render. See raw diff
 
lib/config/config.dart CHANGED
@@ -123,6 +123,10 @@ class Configuration {
123
  // but if you are GPU rich feel feel to play them back at 100% of their speed!
124
  double get clipPlaybackSpeed =>
125
  _config['video']['clip_playback_speed'].toDouble();
 
 
 
 
126
 
127
  // Computed properties
128
 
 
123
  // but if you are GPU rich feel feel to play them back at 100% of their speed!
124
  double get clipPlaybackSpeed =>
125
  _config['video']['clip_playback_speed'].toDouble();
126
+
127
+ // Default negative prompt to avoid harmful content
128
+ String get defaultNegativePrompt =>
129
+ _config['video']['default_negative_prompt'] ?? 'gore, sex, blood, nudity, nude, porn, erotic, worst quality, deformed, distorted, disfigured, blurry, text, watermark';
130
 
131
  // Computed properties
132
 
lib/screens/settings_screen.dart CHANGED
@@ -13,6 +13,7 @@ class SettingsScreen extends StatefulWidget {
13
 
14
  class _SettingsScreenState extends State<SettingsScreen> {
15
  final _promptController = TextEditingController();
 
16
  final _hfApiKeyController = TextEditingController();
17
  final _settingsService = SettingsService();
18
 
@@ -20,12 +21,14 @@ class _SettingsScreenState extends State<SettingsScreen> {
20
  void initState() {
21
  super.initState();
22
  _promptController.text = _settingsService.videoPromptPrefix;
 
23
  _hfApiKeyController.text = _settingsService.huggingfaceApiKey;
24
  }
25
 
26
  @override
27
  void dispose() {
28
  _promptController.dispose();
 
29
  _hfApiKeyController.dispose();
30
  super.dispose();
31
  }
@@ -110,6 +113,18 @@ class _SettingsScreenState extends State<SettingsScreen> {
110
  _settingsService.setVideoPromptPrefix(value);
111
  },
112
  ),
 
 
 
 
 
 
 
 
 
 
 
 
113
  ],
114
  ),
115
  ),
 
13
 
14
  class _SettingsScreenState extends State<SettingsScreen> {
15
  final _promptController = TextEditingController();
16
+ final _negativePromptController = TextEditingController();
17
  final _hfApiKeyController = TextEditingController();
18
  final _settingsService = SettingsService();
19
 
 
21
  void initState() {
22
  super.initState();
23
  _promptController.text = _settingsService.videoPromptPrefix;
24
+ _negativePromptController.text = _settingsService.negativeVideoPrompt;
25
  _hfApiKeyController.text = _settingsService.huggingfaceApiKey;
26
  }
27
 
28
  @override
29
  void dispose() {
30
  _promptController.dispose();
31
+ _negativePromptController.dispose();
32
  _hfApiKeyController.dispose();
33
  super.dispose();
34
  }
 
113
  _settingsService.setVideoPromptPrefix(value);
114
  },
115
  ),
116
+ const SizedBox(height: 16),
117
+ TextField(
118
+ controller: _negativePromptController,
119
+ decoration: const InputDecoration(
120
+ labelText: 'Negative Prompt',
121
+ helperText: 'Content to avoid in the output generation',
122
+ helperMaxLines: 2,
123
+ ),
124
+ onChanged: (value) {
125
+ _settingsService.setNegativeVideoPrompt(value);
126
+ },
127
+ ),
128
  ],
129
  ),
130
  ),
lib/services/settings_service.dart CHANGED
@@ -1,10 +1,12 @@
1
  import 'dart:async';
2
 
3
  import 'package:shared_preferences/shared_preferences.dart';
 
4
 
5
  class SettingsService {
6
  static const String _promptPrefixKey = 'video_prompt_prefix';
7
  static const String _hfApiKeyKey = 'huggingface_api_key';
 
8
  static final SettingsService _instance = SettingsService._internal();
9
 
10
  factory SettingsService() => _instance;
@@ -26,6 +28,13 @@ class SettingsService {
26
  _settingsController.add(null);
27
  }
28
 
 
 
 
 
 
 
 
29
  String get huggingfaceApiKey => _prefs.getString(_hfApiKeyKey) ?? '';
30
 
31
  Future<void> setHuggingfaceApiKey(String apiKey) async {
 
1
  import 'dart:async';
2
 
3
  import 'package:shared_preferences/shared_preferences.dart';
4
+ import 'package:aitube2/config/config.dart';
5
 
6
  class SettingsService {
7
  static const String _promptPrefixKey = 'video_prompt_prefix';
8
  static const String _hfApiKeyKey = 'huggingface_api_key';
9
+ static const String _negativePromptKey = 'negative_video_prompt';
10
  static final SettingsService _instance = SettingsService._internal();
11
 
12
  factory SettingsService() => _instance;
 
28
  _settingsController.add(null);
29
  }
30
 
31
+ String get negativeVideoPrompt => _prefs.getString(_negativePromptKey) ?? Configuration.instance.defaultNegativePrompt;
32
+
33
+ Future<void> setNegativeVideoPrompt(String negativePrompt) async {
34
+ await _prefs.setString(_negativePromptKey, negativePrompt);
35
+ _settingsController.add(null);
36
+ }
37
+
38
  String get huggingfaceApiKey => _prefs.getString(_hfApiKeyKey) ?? '';
39
 
40
  Future<void> setHuggingfaceApiKey(String apiKey) async {
lib/services/websocket_api_service.dart CHANGED
@@ -1095,7 +1095,7 @@ class WebSocketApiService {
1095
  'video_prompt_prefix': settings.videoPromptPrefix,
1096
  'options': {
1097
  'enhance_prompt': enhancePrompt,
1098
- 'negative_prompt': negativePrompt ?? 'low quality, worst quality, deformed, distorted, disfigured, blurry, text, watermark',
1099
  'frame_rate': Configuration.instance.originalClipFrameRate,
1100
  'num_inference_steps': Configuration.instance.numInferenceSteps,
1101
  'guidance_scale': Configuration.instance.guidanceScale,
 
1095
  'video_prompt_prefix': settings.videoPromptPrefix,
1096
  'options': {
1097
  'enhance_prompt': enhancePrompt,
1098
+ 'negative_prompt': negativePrompt ?? settings.negativeVideoPrompt,
1099
  'frame_rate': Configuration.instance.originalClipFrameRate,
1100
  'num_inference_steps': Configuration.instance.numInferenceSteps,
1101
  'guidance_scale': Configuration.instance.guidanceScale,
lib/widgets/ai_content_disclaimer.dart ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // lib/widgets/ai_content_disclaimer_widget.dart
2
+
3
+ import 'package:flutter/material.dart';
4
+ import 'package:google_fonts/google_fonts.dart';
5
+ import '../theme/colors.dart';
6
+
7
+ class AiContentDisclaimer extends StatelessWidget {
8
+ final bool isInteractive;
9
+
10
+ const AiContentDisclaimer({
11
+ super.key,
12
+ this.isInteractive = false,
13
+ });
14
+
15
+ @override
16
+ Widget build(BuildContext context) {
17
+ // Get the text scaling factor
18
+ final textScaler = MediaQuery.textScalerOf(context);
19
+
20
+ return Container(
21
+ width: double.infinity,
22
+ height: double.infinity,
23
+ color: const Color(0xFF047857), // emerald-700
24
+ child: Center(
25
+ child: LayoutBuilder(
26
+ builder: (context, constraints) {
27
+ // Scale text based on container width
28
+ final baseSize = constraints.maxWidth / 25;
29
+ final smallTextSize = baseSize * 0.7;
30
+ final mediumTextSize = baseSize;
31
+ final largeTextSize = baseSize * 1.3;
32
+
33
+ return Padding(
34
+ padding: const EdgeInsets.all(16.0),
35
+ child: Column(
36
+ mainAxisAlignment: MainAxisAlignment.center,
37
+ children: [
38
+ Row(
39
+ mainAxisAlignment: MainAxisAlignment.center,
40
+ crossAxisAlignment: CrossAxisAlignment.baseline,
41
+ textBaseline: TextBaseline.alphabetic,
42
+ children: [
43
+ Text(
44
+ 'The following ',
45
+ style: GoogleFonts.arimo(
46
+ fontSize: smallTextSize,
47
+ color: Colors.white,
48
+ fontWeight: FontWeight.w500,
49
+ letterSpacing: 1.2,
50
+ height: 1.0,
51
+ shadows: const [
52
+ Shadow(
53
+ offset: Offset(0, 2),
54
+ blurRadius: 3.0,
55
+ color: Color.fromRGBO(0, 0, 0, 0.3),
56
+ ),
57
+ ],
58
+ ),
59
+ ),
60
+ Text(
61
+ 'content',
62
+ style: GoogleFonts.arimo(
63
+ fontSize: mediumTextSize,
64
+ color: Colors.white,
65
+ fontWeight: FontWeight.w700,
66
+ letterSpacing: 1.2,
67
+ height: 1.0,
68
+ shadows: const [
69
+ Shadow(
70
+ offset: Offset(0, 2),
71
+ blurRadius: 3.0,
72
+ color: Color.fromRGBO(0, 0, 0, 0.3),
73
+ ),
74
+ ],
75
+ ),
76
+ ),
77
+ Text(
78
+ isInteractive ? ' will be ' : ' has been ',
79
+ style: GoogleFonts.arimo(
80
+ fontSize: smallTextSize,
81
+ color: Colors.white,
82
+ fontWeight: FontWeight.w500,
83
+ letterSpacing: 1.2,
84
+ height: 1.0,
85
+ shadows: const [
86
+ Shadow(
87
+ offset: Offset(0, 2),
88
+ blurRadius: 3.0,
89
+ color: Color.fromRGBO(0, 0, 0, 0.3),
90
+ ),
91
+ ],
92
+ ),
93
+ ),
94
+ Text(
95
+ 'synthesized',
96
+ style: GoogleFonts.arimo(
97
+ fontSize: mediumTextSize,
98
+ color: Colors.white,
99
+ fontWeight: FontWeight.w700,
100
+ letterSpacing: 1.2,
101
+ height: 1.0,
102
+ shadows: const [
103
+ Shadow(
104
+ offset: Offset(0, 2),
105
+ blurRadius: 3.0,
106
+ color: Color.fromRGBO(0, 0, 0, 0.3),
107
+ ),
108
+ ],
109
+ ),
110
+ ),
111
+ ],
112
+ ),
113
+ const SizedBox(height: 10),
114
+ Row(
115
+ mainAxisAlignment: MainAxisAlignment.center,
116
+ crossAxisAlignment: CrossAxisAlignment.baseline,
117
+ textBaseline: TextBaseline.alphabetic,
118
+ children: [
119
+ Text(
120
+ 'using',
121
+ style: GoogleFonts.arimo(
122
+ fontSize: smallTextSize,
123
+ color: Colors.white,
124
+ fontWeight: FontWeight.w500,
125
+ letterSpacing: 1.2,
126
+ height: 1.0,
127
+ shadows: const [
128
+ Shadow(
129
+ offset: Offset(0, 2),
130
+ blurRadius: 3.0,
131
+ color: Color.fromRGBO(0, 0, 0, 0.3),
132
+ ),
133
+ ],
134
+ ),
135
+ ),
136
+ ],
137
+ ),
138
+ const SizedBox(height: 10),
139
+ Text(
140
+ 'artificial intelligence',
141
+ style: GoogleFonts.arimo(
142
+ fontSize: largeTextSize,
143
+ color: Colors.white,
144
+ fontWeight: FontWeight.w700,
145
+ letterSpacing: 1.2,
146
+ height: 1.0,
147
+ shadows: const [
148
+ Shadow(
149
+ offset: Offset(0, 2),
150
+ blurRadius: 3.0,
151
+ color: Color.fromRGBO(0, 0, 0, 0.3),
152
+ ),
153
+ ],
154
+ ),
155
+ ),
156
+ const SizedBox(height: 10),
157
+ Text(
158
+ 'and may contain hallucinations or factual inaccuracies.',
159
+ style: GoogleFonts.arimo(
160
+ fontSize: smallTextSize,
161
+ color: Colors.white,
162
+ fontWeight: FontWeight.w500,
163
+ letterSpacing: 1.2,
164
+ height: 1.0,
165
+ shadows: const [
166
+ Shadow(
167
+ offset: Offset(0, 2),
168
+ blurRadius: 3.0,
169
+ color: Color.fromRGBO(0, 0, 0, 0.3),
170
+ ),
171
+ ],
172
+ ),
173
+ textAlign: TextAlign.center,
174
+ ),
175
+ ],
176
+ ),
177
+ );
178
+ },
179
+ ),
180
+ ),
181
+ );
182
+ }
183
+ }
lib/widgets/video_player_widget.dart CHANGED
@@ -5,9 +5,11 @@ import 'package:aitube2/config/config.dart';
5
  import 'package:flutter/material.dart';
6
  import 'package:flutter/foundation.dart' show kDebugMode, kIsWeb;
7
  import 'package:video_player/video_player.dart';
8
- import '../models/video_result.dart';
9
- import '../services/clip_queue_manager.dart';
10
- import '../theme/colors.dart';
 
 
11
 
12
  // Conditionally import dart:html for web platform
13
  import 'web_utils.dart' if (dart.library.html) 'dart:html' as html;
@@ -540,29 +542,7 @@ class _VideoPlayerWidgetState extends State<VideoPlayerWidget> with WidgetsBindi
540
  ),
541
  ),
542
 
543
- // Loading overlay with translucent background
544
- if (_isLoading)
545
- ClipRRect(
546
- borderRadius: BorderRadius.circular(widget.borderRadius),
547
- child: Container(
548
- color: Colors.black54, // Semi-transparent overlay
549
- child: const Center(
550
- child: Column(
551
- mainAxisSize: MainAxisSize.min,
552
- children: [
553
- SizedBox(height: 16),
554
- Text(
555
- 'Generating video...',
556
- style: TextStyle(
557
- color: Colors.white,
558
- fontSize: 16,
559
- ),
560
- ),
561
- ],
562
- ),
563
- )
564
- ),
565
- ),
566
 
567
  // Play/Pause button overlay
568
  if (controller?.value.isInitialized ?? false)
@@ -631,14 +611,9 @@ class _VideoPlayerWidgetState extends State<VideoPlayerWidget> with WidgetsBindi
631
  }
632
 
633
  Widget _buildPlaceholder() {
 
634
  if (widget.initialThumbnailUrl?.isEmpty ?? true) {
635
- return const Center(
636
- child: Icon(
637
- Icons.play_circle_outline,
638
- size: 64,
639
- color: AiTubeColors.onSurfaceVariant,
640
- ),
641
- );
642
  }
643
 
644
  try {
@@ -667,7 +642,7 @@ class _VideoPlayerWidgetState extends State<VideoPlayerWidget> with WidgetsBindi
667
  }
668
  }
669
 
670
- Widget _buildBufferStatus(bool showDuringLoading) {
671
  final readyOrPlayingClips = _queueManager.clipBuffer.where((c) => c.isReady || c.isPlaying).length;
672
  final totalClips = _queueManager.clipBuffer.length;
673
  final bufferPercentage = (readyOrPlayingClips / totalClips * 100).round();
 
5
  import 'package:flutter/material.dart';
6
  import 'package:flutter/foundation.dart' show kDebugMode, kIsWeb;
7
  import 'package:video_player/video_player.dart';
8
+ import 'package:aitube2/models/video_result.dart';
9
+ import 'package:aitube2/services/clip_queue_manager.dart';
10
+ import 'package:aitube2/theme/colors.dart';
11
+ import 'package:aitube2/widgets/ai_content_disclaimer.dart';
12
+
13
 
14
  // Conditionally import dart:html for web platform
15
  import 'web_utils.dart' if (dart.library.html) 'dart:html' as html;
 
542
  ),
543
  ),
544
 
545
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
546
 
547
  // Play/Pause button overlay
548
  if (controller?.value.isInitialized ?? false)
 
611
  }
612
 
613
  Widget _buildPlaceholder() {
614
+ // Use our new AI Content Disclaimer widget as the placeholder
615
  if (widget.initialThumbnailUrl?.isEmpty ?? true) {
616
+ return const AiContentDisclaimer(isInteractive: false);
 
 
 
 
 
 
617
  }
618
 
619
  try {
 
642
  }
643
  }
644
 
645
+ Widget _buildBufferStatus(bool showDuringLoading) {
646
  final readyOrPlayingClips = _queueManager.clipBuffer.where((c) => c.isReady || c.isPlaying).length;
647
  final totalClips = _queueManager.clipBuffer.length;
648
  final bufferPercentage = (readyOrPlayingClips / totalClips * 100).round();
pubspec.lock CHANGED
@@ -184,6 +184,14 @@ packages:
184
  description: flutter
185
  source: sdk
186
  version: "0.0.0"
 
 
 
 
 
 
 
 
187
  html:
188
  dependency: transitive
189
  description:
 
184
  description: flutter
185
  source: sdk
186
  version: "0.0.0"
187
+ google_fonts:
188
+ dependency: "direct main"
189
+ description:
190
+ name: google_fonts
191
+ sha256: b1ac0fe2832c9cc95e5e88b57d627c5e68c223b9657f4b96e1487aa9098c7b82
192
+ url: "https://pub.dev"
193
+ source: hosted
194
+ version: "6.2.1"
195
  html:
196
  dependency: transitive
197
  description:
pubspec.yaml CHANGED
@@ -52,6 +52,7 @@ dependencies:
52
  synchronized: ^3.3.0+3
53
  async: ^2.11.0
54
  universal_html: ^2.2.4
 
55
 
56
  dev_dependencies:
57
  flutter_test:
 
52
  synchronized: ^3.3.0+3
53
  async: ^2.11.0
54
  universal_html: ^2.2.4
55
+ google_fonts: ^6.2.1
56
 
57
  dev_dependencies:
58
  flutter_test: