Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- __pycache__/app.cpython-314.pyc +0 -0
- app.py +2 -2
- requirements.txt +6 -6
__pycache__/app.cpython-314.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-314.pyc and b/__pycache__/app.cpython-314.pyc differ
|
|
|
app.py
CHANGED
|
@@ -601,7 +601,7 @@ with gr.Blocks(title="π¦ BirdSense Pro") as demo:
|
|
| 601 |
|
| 602 |
with gr.Row():
|
| 603 |
with gr.Column(scale=1):
|
| 604 |
-
audio_in = gr.Audio(
|
| 605 |
with gr.Row():
|
| 606 |
loc = gr.Textbox(label="π Location", placeholder="e.g., Western Ghats")
|
| 607 |
month = gr.Dropdown(label="π
Month", choices=[""] + [
|
|
@@ -628,7 +628,7 @@ with gr.Blocks(title="π¦ BirdSense Pro") as demo:
|
|
| 628 |
with gr.Tab("π· Image"):
|
| 629 |
with gr.Row():
|
| 630 |
with gr.Column(scale=1):
|
| 631 |
-
img_in = gr.Image(
|
| 632 |
img_btn = gr.Button("π Identify", variant="primary")
|
| 633 |
with gr.Column(scale=2):
|
| 634 |
img_out = gr.Markdown()
|
|
|
|
| 601 |
|
| 602 |
with gr.Row():
|
| 603 |
with gr.Column(scale=1):
|
| 604 |
+
audio_in = gr.Audio(sources=["microphone", "upload"], type="numpy", label="π€ Bird Audio")
|
| 605 |
with gr.Row():
|
| 606 |
loc = gr.Textbox(label="π Location", placeholder="e.g., Western Ghats")
|
| 607 |
month = gr.Dropdown(label="π
Month", choices=[""] + [
|
|
|
|
| 628 |
with gr.Tab("π· Image"):
|
| 629 |
with gr.Row():
|
| 630 |
with gr.Column(scale=1):
|
| 631 |
+
img_in = gr.Image(sources=["upload", "webcam"], type="numpy", label="π· Bird Image")
|
| 632 |
img_btn = gr.Button("π Identify", variant="primary")
|
| 633 |
with gr.Column(scale=2):
|
| 634 |
img_out = gr.Markdown()
|
requirements.txt
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
# BirdSense Pro - HuggingFace Space
|
| 2 |
-
#
|
| 3 |
|
| 4 |
-
gradio
|
| 5 |
-
numpy
|
| 6 |
-
scipy
|
| 7 |
-
requests
|
| 8 |
-
Pillow
|
|
|
|
| 1 |
# BirdSense Pro - HuggingFace Space
|
| 2 |
+
# Use latest stable Gradio
|
| 3 |
|
| 4 |
+
gradio>=4.0
|
| 5 |
+
numpy
|
| 6 |
+
scipy
|
| 7 |
+
requests
|
| 8 |
+
Pillow
|