[Zcj] Feature: 完成 AI 智能助手项目
This commit is contained in:
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
__pycache__/
|
||||
.env
|
||||
.venv/
|
||||
*.pyc
|
||||
18
app.py
Normal file
18
app.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# AI 智能问答项目 - zcj 专属
|
||||
import streamlit as st
|
||||
from datetime import datetime
|
||||
|
||||
st.title("✅ AI 智能助手 - zcj")
|
||||
st.subheader("Claude 自动生成代码")
|
||||
|
||||
now = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
st.write(f"当前时间:{now}")
|
||||
|
||||
user_input = st.text_input("请输入你的问题:")
|
||||
|
||||
if user_input:
|
||||
st.success(f"AI 回复:你输入的内容是 → {user_input}")
|
||||
st.info("状态:代码运行正常")
|
||||
|
||||
st.markdown("---")
|
||||
st.caption("作者:zcj | 仓库:ssh://git@82.156.249.211:2222/zcj/aicode.git")
|
||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
streamlit>=1.28.0
|
||||
python-dotenv>=1.0.0
|
||||
Reference in New Issue
Block a user