fix pkg structure
This commit is contained in:
parent
7dd735c580
commit
f163406d5f
6
chat.py
6
chat.py
@ -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()
|
||||
|
@ -1,9 +0,0 @@
|
||||
import os
|
||||
|
||||
|
||||
def main():
|
||||
os.system("streamlit run ../chat.py")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Loading…
Reference in New Issue
Block a user