sparsh007 commited on
Commit
680e43f
·
verified ·
1 Parent(s): 14959a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -114,6 +114,10 @@ def prev_image(index):
114
 
115
  # Gradio interface
116
  with gr.Blocks() as interface:
 
 
 
 
117
  # Multiple file input and display area
118
  file_input = gr.Files(label="Upload multiple image files", type="filepath")
119
  image_display = gr.Image(label="Processed Image")
@@ -126,6 +130,10 @@ with gr.Blocks() as interface:
126
  # Hidden state to store current index
127
  current_index = gr.State(0)
128
 
 
 
 
 
129
  # Button to download all processed images and annotations as a ZIP file
130
  download_button = gr.Button("Prepare and Download All")
131
  download_file = gr.File()
 
114
 
115
  # Gradio interface
116
  with gr.Blocks() as interface:
117
+ # Instruction before file input
118
+ gr.Markdown("### Step 1: Upload Your Images")
119
+ gr.Markdown("Upload multiple image files that you want to process using the model.")
120
+
121
  # Multiple file input and display area
122
  file_input = gr.Files(label="Upload multiple image files", type="filepath")
123
  image_display = gr.Image(label="Processed Image")
 
130
  # Hidden state to store current index
131
  current_index = gr.State(0)
132
 
133
+ # Instruction before download
134
+ gr.Markdown("### Step 2: Download Processed Images and Annotations")
135
+ gr.Markdown("After processing, you can download all processed images and annotations as a ZIP file.")
136
+
137
  # Button to download all processed images and annotations as a ZIP file
138
  download_button = gr.Button("Prepare and Download All")
139
  download_file = gr.File()