Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -364,6 +364,15 @@ with gr.Blocks(title="Axion - SAR to Optical") as demo:
|
|
| 364 |
with gr.Row():
|
| 365 |
with gr.Column():
|
| 366 |
input_file = gr.File(label="Upload SAR Image", file_types=[".tif", ".tiff", ".png", ".jpg", ".jpeg"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 367 |
with gr.Row():
|
| 368 |
overlap = gr.Slider(16, 128, value=64, step=16, label="Tile Overlap")
|
| 369 |
enhance = gr.Checkbox(value=True, label="Enhance Output")
|
|
|
|
| 364 |
with gr.Row():
|
| 365 |
with gr.Column():
|
| 366 |
input_file = gr.File(label="Upload SAR Image", file_types=[".tif", ".tiff", ".png", ".jpg", ".jpeg"])
|
| 367 |
+
gr.HTML("""
|
| 368 |
+
<div style="font-size: 0.8rem; color: #666; padding: 8px 12px; background: rgba(255,255,255,0.03); border-radius: 6px; margin: 8px 0;">
|
| 369 |
+
<strong style="color: #888;">Input Guidelines:</strong><br>
|
| 370 |
+
• Use raw SAR imagery (single-band grayscale)<br>
|
| 371 |
+
• VV polarization preferred, VH also supported<br>
|
| 372 |
+
• Sentinel-1 GRD products work best<br>
|
| 373 |
+
• Any resolution supported (processed in 256×256 tiles)
|
| 374 |
+
</div>
|
| 375 |
+
""")
|
| 376 |
with gr.Row():
|
| 377 |
overlap = gr.Slider(16, 128, value=64, step=16, label="Tile Overlap")
|
| 378 |
enhance = gr.Checkbox(value=True, label="Enhance Output")
|