Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
·
76af469
1
Parent(s):
89c05ae
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import string
|
|
7 |
from ratelimiter import RateLimiter
|
8 |
|
9 |
# rate limit to 4 calls per second
|
10 |
-
rate_limiter = RateLimiter(max_calls=
|
11 |
|
12 |
text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
|
13 |
|
|
|
7 |
from ratelimiter import RateLimiter
|
8 |
|
9 |
# rate limit to 4 calls per second
|
10 |
+
rate_limiter = RateLimiter(max_calls=1, period=1)
|
11 |
|
12 |
text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
|
13 |
|