18 lines
544 B
Python
18 lines
544 B
Python
|
|
# 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")
|