Datasets:
License:
Dataset Viewer
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code: FeaturesError
Exception: ArrowInvalid
Message: Schema at index 1 was different:
ad_images: list<item: string>
ad_links: list<item: string>
ad_labels: list<item: string>
vs
game_names: list<item: string>
game_descriptions: list<item: string>
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 246, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 3496, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2257, in _head
return next(iter(self.iter(batch_size=n)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2461, in iter
for key, example in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1952, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 1974, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 563, in _iter_arrow
yield new_key, pa.Table.from_batches(chunks_buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pyarrow/table.pxi", line 5039, in pyarrow.lib.Table.from_batches
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Schema at index 1 was different:
ad_images: list<item: string>
ad_links: list<item: string>
ad_labels: list<item: string>
vs
game_names: list<item: string>
game_descriptions: list<item: string>Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
暗黑二次元小说生成器
项目简介
基于AI的暗黑二次元风格小说生成器,支持免费生成前3章,付费解锁全本10章内容。
功能特点
- 🎨 暗黑二次元风格小说生成
- 📖 免费生成前3章试读
- 💳 支付解锁全本10章
- 🌍 支持人民币/美元支付
- 📱 响应式Web界面
- 🔍 SEO优化设计
项目结构
番茄小说/
├─ app.py # 主程序文件
├─ novel_config.json # 小说配置
├─ ad_config.json # 广告配置
├─ game_config.json # 游戏配置
├─ requirements.txt # 依赖包
├─ README.md # 项目说明
└─ images/ # 图片资源
├─ novel_covers/ # 小说封面(8张)
└─ ad_images/ # 广告图片(5张)
安装部署
1. 环境准备
# 安装Python依赖
pip install -r requirements.txt
2. 配置环境变量
在Hugging Face Secrets或环境变量中配置:
DEEPSEEK_API_KEY: DeepSeek API密钥EPAY_MERCHANT_ID: 易派商户IDEPAY_API_KEY: 易派API密钥EPAY_NOTIFY_URL: 支付回调地址EPAY_RETURN_URL: 支付返回地址
3. 图片准备
将实际图片文件放入对应目录:
images/novel_covers/: 8张小说封面图(800x1200px)images/ad_images/: 5张广告图(按建议尺寸)
4. 运行项目
python app.py
使用说明
用户操作流程
- 输入小说名称(支持中英文)
- 点击"生成免费3章"获取试读内容
- 选择支付货币,点击"获取支付二维码"
- 完成支付后,输入"小说名称+继续"解锁全本
支付选项
- 人民币: 1元解锁全本10章(微信/支付宝)
- 美元: $0.15解锁全本10章(PayPal/信用卡)
技术架构
- 前端: Gradio Web界面
- 后端: Python Flask + Gradio
- AI生成: DeepSeek API
- 支付: 易派支付接口
- 存储: 本地JSON文件
注意事项
- 确保所有配置文件路径正确
- 图片文件需按指定命名放置
- 支付配置需替换为实际商户信息
- 建议在HTTPS环境下部署
版权说明
项目仅供学习交流使用,请遵守相关法律法规。
在线体验
访问 Hugging Face Space 体验在线版本。
- Downloads last month
- 53