joeweiss / birdnetlib

A python api for BirdNET-Lite and BirdNET-Analyzer
https://joeweiss.github.io/birdnetlib/
Apache License 2.0
41 stars 14 forks source link

Sudden code issue with GUI #103

Closed afowxc closed 9 months ago

afowxc commented 9 months ago

Hello, I've been using BirdNET to run classifiers for months now as I work though building some custom models. My computer restarted, and now when I try to open the GUI (using python3 py.gui like usual), it brings up error lines in the codes including Traceback (most recent call last): File "/Users/me/BirdNET-Analyzer/gui.py", line 969, in build_single_analysis_tab() File "/Users/me/BirdNET-Analyzer/gui.py", line 717, in build_single_analysis_tab ) = species_lists(False) File "/Users/me/BirdNET-Analyzer/gui.py", line 655, in species_lists species_file_input = gr.File(file_types=[".txt"], info="Path to species list file or folder.", visible=False) File "/Users/me/anaconda3/envs/birdnet-analyzer/lib/python3.10/site-packages/gradio/component_meta.py", line 157, in wrapper return fn(self, **kwargs) TypeError: File.init() got an unexpected keyword argument 'info'

Have there been updates? Why would this all of a sudden have issues?

Thanks in advance.

joeweiss commented 9 months ago

Hi @afowxc.

The GUI is part of the larger BirdNET-Analyzer project. I would suggest raising an issue over at their repo's issues.

This repo (birdnetlib) is the Python library for BirdNET analyzers.