shriarul5273 commited on
Commit
e0d1b33
·
1 Parent(s): ca90397

added comments

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -165,6 +165,8 @@ with gr.Blocks() as demo:
165
  edge_operation.change(fn=on_edge_operation_change, inputs=edge_operation, outputs=[min_val_slider, max_val_slider, kernel_size_slider])
166
  apply_edge_button.click(fn=apply_edge_detection, inputs=[edge_img_input, min_val_slider, max_val_slider, edge_operation, kernel_size_slider], outputs=edge_img_output)
167
 
 
 
168
  # ---- DYNAMIC TRANSFER BUTTON ----
169
  with gr.Row():
170
  source_tab_dropdown = gr.Dropdown(tab_names, label="Transfer From Tab")
@@ -197,5 +199,6 @@ with gr.Blocks() as demo:
197
  outputs=[img_input, denoise_img_input, morph_img_input, edge_img_input]
198
  )
199
 
 
200
  # Launch the Gradio interface
201
  demo.launch()
 
165
  edge_operation.change(fn=on_edge_operation_change, inputs=edge_operation, outputs=[min_val_slider, max_val_slider, kernel_size_slider])
166
  apply_edge_button.click(fn=apply_edge_detection, inputs=[edge_img_input, min_val_slider, max_val_slider, edge_operation, kernel_size_slider], outputs=edge_img_output)
167
 
168
+ gr.Markdown("### To transfer the image to another tab for further processing, select the source and destination tabs and click the Transfer Image button.")
169
+
170
  # ---- DYNAMIC TRANSFER BUTTON ----
171
  with gr.Row():
172
  source_tab_dropdown = gr.Dropdown(tab_names, label="Transfer From Tab")
 
199
  outputs=[img_input, denoise_img_input, morph_img_input, edge_img_input]
200
  )
201
 
202
+ gr.Markdown("### examples image and docx comming soon")
203
  # Launch the Gradio interface
204
  demo.launch()