NameError: name 'audio_input_selection' is not defined
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
2024-04-13 16:44:28.711 Traceback (most recent call last):
File "d:\Anaconda3\envs\env-mytest\lib\site-packages\streamlit\scriptrunner\script_runner.py", line 443, in _run_script
exec(code, module.__dict__)
File "C:\Users\ADMINI~1\AppData\Local\Temp\tmphld7iscu.py", line 14, in
render_streamlit_ui()
File "D:\MockingBird\mkgui\base\ui\streamlit_ui.py", line 841, in render_streamlit_ui
opyrator = getOpyrator(mode)
File "D:\MockingBird\mkgui\base\ui\streamlit_ui.py", line 810, in getOpyrator
from mkgui.app_vc import convert
File "D:\MockingBird\mkgui\app_vc.py", line 51, in
class Input(BaseModel):
File "D:\MockingBird\mkgui\app_vc.py", line 52, in Input
local_audio_file: audio_input_selection = Field(
NameError: name 'audio_input_selection' is not defined
please help me .how to solve this problem
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading mkgui/app_vc.py around lines 51–52, then follow the call path from mkgui/base/ui/streamlit_ui.py lines 810 and 841. Confirm how the Input model is loaded and verify that render_streamlit_ui() starts without the reported NameError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, streamlit
- Domain
- ai, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100