selfit-camera commited on
Commit
b7ab4be
·
1 Parent(s): 5d6c257
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def generate_trump_voice_with_realtime_updates(text, language_display, request:
107
  IP_Dict[client_ip] = 0
108
  IP_Dict[client_ip] += 1
109
  print(f"client_ip: {client_ip}, count: {IP_Dict[client_ip]}")
110
- if IP_Dict[client_ip] >= 4:
111
  msg = "You have reached the maximum number of requests"
112
  # Create "Get More Tries" button HTML
113
  get_more_tries_html = f"""
 
107
  IP_Dict[client_ip] = 0
108
  IP_Dict[client_ip] += 1
109
  print(f"client_ip: {client_ip}, count: {IP_Dict[client_ip]}")
110
+ if IP_Dict[client_ip] >= 10:
111
  msg = "You have reached the maximum number of requests"
112
  # Create "Get More Tries" button HTML
113
  get_more_tries_html = f"""