measmonysuon commited on
Commit
675234d
1 Parent(s): 5a9b11a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -171,7 +171,7 @@ def handle_generate_image(prompt, resolution_key, user_chat_id):
171
  points = get_user_points(user_chat_id)
172
  if isinstance(points, str):
173
  if points == "User not found":
174
- return None, "Please register with @myexpsupportBot"
175
  return None, "Error retrieving points. Please try again later."
176
 
177
  try:
@@ -196,7 +196,7 @@ def create_gradio_interface():
196
  with gr.Blocks() as interface:
197
  gr.HTML("""
198
  <h1>AI ImagGen DALL·E 4K</h1>
199
- <h3>Welcome! Please enter your user chat ID and OTP to continue.</h3>
200
  """)
201
 
202
  with gr.Row():
 
171
  points = get_user_points(user_chat_id)
172
  if isinstance(points, str):
173
  if points == "User not found":
174
+ return None, "Please register with https://t.me/myexpsupportBot"
175
  return None, "Error retrieving points. Please try again later."
176
 
177
  try:
 
196
  with gr.Blocks() as interface:
197
  gr.HTML("""
198
  <h1>AI ImagGen DALL·E 4K</h1>
199
+ <h3>Welcome! Please enter your UID and OTP to continue or Register with https://t.me/myexpsupportBot to get UID</h3>
200
  """)
201
 
202
  with gr.Row():