sms-castle-walls/simple_app.py
fa7656ae0d feat: 重构项目结构并添加垃圾短信分类系统核心功能
- 重构项目目录结构,添加src目录包含data/models/agent/llm模块
- 实现数据预处理、验证和分割功能
- 添加机器学习模型训练和预测功能
- 实现LLM服务集成DeepSeek API
- 构建Agent框架实现工具调用和结果整合
- 添加Streamlit可视化应用
- 更新项目配置和依赖管理
- 删除无用文件和旧实现代码
2026-01-15 12:16:42 +08:00

23 lines
528 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import streamlit as st
# 设置页面配置
st.set_page_config(
page_title="简单测试应用",
page_icon="📱",
layout="wide"
)
# 应用标题
st.title("📱 简单测试应用")
st.markdown("---")
# 简单的文本输入和输出
user_input = st.text_input("请输入一些文本")
if user_input:
st.write(f"你输入的文本是: {user_input}")
# 显示系统信息
st.markdown("---")
st.header("系统信息")
st.write(f"Python版本: {st.__version__}")
st.write("Streamlit应用可以正常运行")