Skip to content

Commit 3db1eac

Browse files
committed
double user quote to match Dream API price decrease
1 parent b975e72 commit 3db1eac

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

BlazorDiffusion.ServiceInterface/AppUserQuotas.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ public class AppUserQuotas
2121

2222
public Dictionary<string, int> DailyRoleQuotas { get; } = new()
2323
{
24-
[AppRoles.Creator] = 80,
24+
[AppRoles.Creator] = 160,
2525
};
2626

27-
public const int DefaultDailyQuota = 40; //40
27+
public const int DefaultDailyQuota = 80; //80
2828

2929
/// <summary>
3030
/// Future:
31-
/// Square = 1 credit (512 x 512)
32-
/// Portrait = 3 credits (512 x 896)
33-
/// Landscale = 3 credits (896 x 512)
34-
/// Large = 7 credits (896 x 896)
35-
/// 2x Large = 10 credits (1024 x 1024)
31+
/// Square = 1 credit (512 x 512) 0.4
32+
/// Portrait = 3 credits (512 x 896) 1.1
33+
/// Landscale = 3 credits (896 x 512) 1.1
34+
/// Large = 7 credits (896 x 896) 2.3
35+
/// 2x Large = 10 credits (1024 x 1024) 3.2
3636
///
3737
/// Steps:
3838
/// 50 = * 1

BlazorDiffusion/Pages/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060

6161
<script src="_framework/blazor.server.js"></script>
62-
<script type="text/javascript" src="/js/servicestack-blazor.js"></script>
62+
<script src="/js/servicestack-blazor.js"></script>
6363
<script>JS.init({ colorScheme: location.search === '?light' ? 'light' : 'dark' })</script>
6464

6565
<script>

BlazorDiffusion/Pages/_LayoutServer.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
<a class="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100" href="https://servicestack.net/blazor" target="_blank" title="powered by">servicestack.net/blazor</a>
109109
</div>
110110

111-
<script type="text/javascript" src="/js/servicestack-blazor.js"></script>
111+
<script src="/js/servicestack-blazor.js"></script>
112112
<script>JS.init({ colorScheme: location.search === '?light' ? 'light' : 'dark' })</script>
113113

114114
</body>

0 commit comments

Comments
 (0)