当前位置: 首页 > news >正文

网站备案后应该做什么品牌的网站建设一般多少钱

网站备案后应该做什么,品牌的网站建设一般多少钱,企业网站全屏轮播怎么做,公司网站费用EnToZhAPI项目简介 项目背景 提供本地化的英文翻译服务API。支持单句翻译请求或者批量翻译请求。支持建立查询词汇表。 项目架构 前端#xff1a;使用原生js#xff0c;使用MDB作为CSS框架。django模板引擎渲染可视化界面。 后端#xff1a;使用waitress作为后端服务器…EnToZhAPI项目简介 项目背景 提供本地化的英文翻译服务API。支持单句翻译请求或者批量翻译请求。支持建立查询词汇表。 项目架构 前端使用原生js使用MDB作为CSS框架。django模板引擎渲染可视化界面。 后端使用waitress作为后端服务器。django作为web应用框架。 翻译模型Helsinki-NLP/opus-mt-en-zh ps: 有效果更好的模型欢迎留言。 API使用django-ninjaAPI实现RESTFUL API服务以及API文档。 数据库默认使用sqlite。 缓存使用redis进行缓存数据管理。 异步任务队列使用celery进行异步任务处理。 反向代理使用Nginx处理用户请求并完成分发。 项目构建使用docker进行项目开发部署以及项目生产部署。 项目开源地址 https://gitee.com/chaofanat/EnToZhAPI 在线测试地址http://api.chaofan.online/ 轻量服务器计算性能有限翻译速度较慢。翻译效果取决于翻译的模型。 python调用API示例 import httpx, json, timetranslate_api http://api.chaofan.online/api/translatedef batchtranslate(texts : list[str]):payload {text: texts}payload json.dumps(payload)r httpx.post(url http://api.chaofan.online/api/translate/batch/, data payload).json()task_ids r[task_ids]print(已经获取任务ID:)print(task_ids)print(可以通过url:translate_api/{task_id} 获取任务执行结果。)print(任务执行中等待获取结果默认等待1分钟后获取任务结果。。。)time.sleep(1*60)translate_res []for task_id in task_ids: res httpx.get(url f{translate_api}/{task_id}).json()translate_res translate_resres[result]print(获取任务结果成功)print(##################)for res in translate_res:print(res)return translate_ressentences [The quick brown fox jumps over the lazy dog.,Every moment is a fresh beginning.,Life is what happens when youre busy making other plans.,Stars cant shine without darkness.,Believe in yourself and all that you are.,Success is not final, failure is not fatal: it is the courage to continue that counts.,The best way to predict your future is to create it.,Smile, because it confuses people.,Dream big and dare to fail.,Happiness is a direction, not a destination.,You miss 100% of the shots you dont take.,The only way to do great work is to love what you do.,The future belongs to those who believe in the beauty of their dreams.,Be the change you wish to see in the world.,If you want to go fast, go alone. If you want to go far, go together.,The only limit to our realization of tomorrow will be our doubts of today.,The greatest glory in living lies not in never falling, but in rising every time we fall.,Opportunity is missed by most people because it is dressed in overalls and looks like work.,Life is 10% what happens to us and 90% how we react to it.,The best time to plant a tree was 20 years ago. The second best time is now. ]translate_res batchtranslate(sentences)for i in translate_res:print(i)
http://www.hkea.cn/news/14372609/

相关文章:

  • 郑州网站建设moran连接品硕网线做怎么弹网站
  • 北京网站建设+++招聘信息如何将下载好的网站模板用到织梦程序上
  • eclipse 网站开发过程网站配色方案橙色
  • 投票网站定制乐清市建设规划局网站
  • 可以做来电名片的网站学编程从哪儿入手
  • 网站建设标准 方案书微信二维码制作网站
  • 建小公司网站网站建设 app
  • 酒类网站建设方案分类网站上怎么做锚文本
  • 宁波做网站的公司哪家好南昌大学南昌网站建设公司
  • 织梦网站上传数据库原创先锋 北京网站建设
  • 怎么看别人网站怎么做的优化wordpress稳定吗
  • 营销型网站是什么样的赚钱黑渠道
  • 邯郸手机网站建设服务专门开发小程序的公司
  • 建设银行网站注册用户名做红包网站是犯法的吗
  • 游戏开发网站开发汕头人才网
  • 怎么做盗版网站吗查看网站开发语言方法
  • 廊坊网站建设招聘前端静态网页模板
  • wordpress 视频图片网站wordpress 腾讯cdn
  • 提交网站给百度腾讯企业邮箱域名购买
  • 怎么做html网站php可以做视频网站
  • 淘宝客优惠券网站怎么做的网页设计作业百度云
  • 微信网站建设企业集团官网及站群网站建设
  • 网站建设要学哪些东西免费学服装设计的网站
  • 沈阳网站建设团队苏州专业网站制作
  • 怎么查网站域名办公室装修效果图图片大全
  • 网站建设开场介绍话术网站备案号被注销
  • 网站建设难点网站公司做的网站被攻击
  • 网站的js效果网站上的销售怎么做
  • 网站建设销售渠道上海 顶尖 网站设计
  • 怎么查看网站disallow360建筑网兼职