Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,3 @@
|
|
| 1 |
-
🦋 Lanternfly Field Capture Space (Auto-GPS Start)
|
| 2 |
-
This version restores the full application functionality (Camera/GPS/HF Save) and is configured to automatically attempt to capture GPS coordinates immediately upon page load. This bypasses potential event queueing or timing issues related to button clicks, giving us the most resilient chance of getting a GPS fix.
|
| 3 |
-
|
| 4 |
-
Step 1: Run the Single Code Cell
|
| 5 |
-
Paste the following entire block into one code cell in your Colab notebook and run it.
|
| 6 |
-
|
| 7 |
"""
|
| 8 |
Lanternfly Field Capture Space (V7 - Global Class Selector Fix)
|
| 9 |
|
|
@@ -320,11 +314,4 @@ with gr.Blocks(title="Lanternfly Field Capture") as app:
|
|
| 320 |
outputs=[status, preview]
|
| 321 |
)
|
| 322 |
|
| 323 |
-
app.launch(share=True)
|
| 324 |
-
|
| 325 |
-
Step 2: Access the HTTPS Link
|
| 326 |
-
After running the cell, look for the output line:
|
| 327 |
-
|
| 328 |
-
Running on public URL: https://[unique_id].gradio.live
|
| 329 |
-
|
| 330 |
-
You must click and open this https://... link in a new browser tab.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
"""
|
| 2 |
Lanternfly Field Capture Space (V7 - Global Class Selector Fix)
|
| 3 |
|
|
|
|
| 314 |
outputs=[status, preview]
|
| 315 |
)
|
| 316 |
|
| 317 |
+
app.launch(share=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|