whitney0507 commited on
Commit
8f4979c
·
verified ·
1 Parent(s): c9d3b13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -9
app.py CHANGED
@@ -375,16 +375,14 @@ with gr.Blocks(css=custom_css,js=js_func) as demo:
375
  with gr.Column(elem_classes="section-container"):
376
  gr.Markdown("""
377
  <h2 class="download-image-header">1. Download Image</h2>
378
- <p class="download-image-description">Download this image file before model training.</p>
 
 
 
 
 
 
379
  """)
380
- sample_images = gr.File(
381
- value="Sample Images for Download.zip",
382
- file_count="directory",
383
- type="filepath",
384
- label="Image File Downloader",
385
- elem_classes="sample-images-download"
386
- ) # Add a button to go back to the welcome page
387
-
388
  # Right column - Select Model
389
  with gr.Column(elem_classes="section-container"):
390
  gr.Markdown("""
 
375
  with gr.Column(elem_classes="section-container"):
376
  gr.Markdown("""
377
  <h2 class="download-image-header">1. Download Image</h2>
378
+ <p class="download-image-description">Download these sample images to test with the model.</p>
379
+ <a href="https://raw.githubusercontent.com/whitney0507/FYP/main/Sample%20Images%20for%20Download.zip"
380
+ download="Sample Images for Download.zip"
381
+ class="download-button"
382
+ style="display: inline-block; padding: 10px 20px; background-color: #4CAF50; color: white; text-decoration: none; border-radius: 4px; margin-top: 10px;">
383
+ Download Sample Images
384
+ </a>
385
  """)
 
 
 
 
 
 
 
 
386
  # Right column - Select Model
387
  with gr.Column(elem_classes="section-container"):
388
  gr.Markdown("""