measmonysuon commited on
Commit
4644a25
1 Parent(s): 5c993e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -187,12 +187,11 @@ def create_gradio_interface():
187
  with gr.Row():
188
  user_chat_id_input = gr.Textbox(label="Your UID", placeholder="Enter your UID")
189
  user_otp_input = gr.Textbox(label="OTP", type="password", placeholder="Enter your OTP")
190
-
 
191
  with gr.Row():
192
  request_otp_button = gr.Button("Request OTP")
193
- get_points_button = gr.Button("Show Your Points")
194
-
195
- points_output = gr.Textbox(label="Your Balance", placeholder="Your Points", interactive=False)
196
 
197
  prompt_input = gr.Textbox(label="Prompt", placeholder="Enter your prompt here...")
198
  resolution_dropdown = gr.Dropdown(choices=list(resolutions.keys()), label="Resolution", value="1024x1024")
 
187
  with gr.Row():
188
  user_chat_id_input = gr.Textbox(label="Your UID", placeholder="Enter your UID")
189
  user_otp_input = gr.Textbox(label="OTP", type="password", placeholder="Enter your OTP")
190
+ points_output = gr.Textbox(label="Your Balance", placeholder="Your Points", interactive=False)
191
+
192
  with gr.Row():
193
  request_otp_button = gr.Button("Request OTP")
194
+ get_points_button = gr.Button("Verify OTP")
 
 
195
 
196
  prompt_input = gr.Textbox(label="Prompt", placeholder="Enter your prompt here...")
197
  resolution_dropdown = gr.Dropdown(choices=list(resolutions.keys()), label="Resolution", value="1024x1024")