From 444c966d2223681d36a1cb18139a38c2ec24375b Mon Sep 17 00:00:00 2001 From: pxnmejity <2281039978@qq.com> Date: Thu, 26 Dec 2024 14:11:45 +0800 Subject: [PATCH] Delete 'main.py' --- main.py | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 main.py diff --git a/main.py b/main.py deleted file mode 100644 index 4966a25..0000000 --- a/main.py +++ /dev/null @@ -1,33 +0,0 @@ -import yuyin as yy -import renlian as rl -import time -import jiqiren as jqr -import ganying as gy -import RPi.GPIO as GPIO # 引入GPIO模块 - - -if __name__ == '__main__': - while True: - gy.check_env() - text = yy.record_text() - gy.check_env() - # text = '小爱' - if('小溪' in text): - jqr.Key("来了,来了!") - while True: - gy.check_env() - text = jqr.Say() - gy.check_env() - if('退出' in text): - break - - elif ("退出" in text): - GPIO.cleanup() - break - - elif(text not in ''): - jqr.Key("请尝试呼喊我的名字:小溪。") - - else: - time.sleep(0.5) - continue