Bertug1911 commited on
Commit
939dd2e
·
verified ·
1 Parent(s): 7917fa6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,10 +28,10 @@ def generate_output(session_id):
28
  logs.popleft()
29
 
30
  if len(logs) >= MAX_CLICKS:
31
- return f"⛔ Dakikada sadece {MAX_CLICKS} kez tıklayabilirsin."
32
 
33
  logs.append(now)
34
- return f"✅ Üretim başarılı! ({len(logs)}/{MAX_CLICKS})"
35
 
36
  with gr.Blocks() as app:
37
  session_id = gr.State(str(time.time())) # Basit oturum kimliği
 
28
  logs.popleft()
29
 
30
  if len(logs) >= MAX_CLICKS:
31
+ return f"⛔ You can only click {MAX_CLICKS} times in a minute!"
32
 
33
  logs.append(now)
34
+ return f"✅ Generation succesful! ({len(logs)}/{MAX_CLICKS})"
35
 
36
  with gr.Blocks() as app:
37
  session_id = gr.State(str(time.time())) # Basit oturum kimliği