fix pkg structure

This commit is contained in:
if 2023-04-16 03:01:02 +03:00
parent 7dd735c580
commit f163406d5f
4 changed files with 6 additions and 11 deletions

View File

@ -88,7 +88,7 @@ def main() -> None:
show_chat_buttons()
if __name__ == "__main__":
def run_agi():
match selected_lang:
case "En":
st.session_state.locale = en
@ -120,3 +120,7 @@ if __name__ == "__main__":
show_donates()
case _:
show_info(tg_svg)
if __name__ == "__main__":
run_agi()

View File

View File

@ -1,9 +0,0 @@
import os
def main():
os.system("streamlit run ../chat.py")
if __name__ == "__main__":
main()

View File

@ -12,7 +12,7 @@ setup(
install_requires=requirements, # Use the parsed requirements here
entry_points={
"console_scripts": [
"ai-talks=pkg.run_agi:main",
"ai-talks=chat:run_agi",
],
},
author="Dmitry Kosarevsky",