measmonysuon commited on
Commit
5a9b11a
1 Parent(s): 43912a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -207,13 +207,13 @@ def create_gradio_interface():
207
  with gr.Row():
208
  request_otp_button = gr.Button("Request OTP")
209
  get_points_button = gr.Button("Verify OTP")
210
-
 
211
  prompt_input = gr.Textbox(label="Prompt", placeholder="Enter your prompt here...")
212
  resolution_dropdown = gr.Dropdown(choices=list(resolutions.keys()), label="Resolution", value="1024x1024")
213
 
214
  generate_button = gr.Button("Generate")
215
  result_output = gr.Image(label="Generated Image", type="pil")
216
- message_output = gr.Textbox(label="Message", placeholder="Results and notifications will be shown here", interactive=False)
217
 
218
  generate_button.click(
219
  fn=handle_generate_image,
 
207
  with gr.Row():
208
  request_otp_button = gr.Button("Request OTP")
209
  get_points_button = gr.Button("Verify OTP")
210
+
211
+ message_output = gr.Textbox(label="Message", placeholder="Results and notifications will be shown here", interactive=False)
212
  prompt_input = gr.Textbox(label="Prompt", placeholder="Enter your prompt here...")
213
  resolution_dropdown = gr.Dropdown(choices=list(resolutions.keys()), label="Resolution", value="1024x1024")
214
 
215
  generate_button = gr.Button("Generate")
216
  result_output = gr.Image(label="Generated Image", type="pil")
 
217
 
218
  generate_button.click(
219
  fn=handle_generate_image,