text stringlengths 0 507 |
|---|
<!DOCTYPE html> |
<html lang="vi"> |
<head> |
<meta charset="UTF-8"> |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
<title>Ứng Dụng Tạo Cốt Truyện</title> |
<script src="https://cdn.tailwindcss.com"></script> |
<link rel="preconnect" href="https://fonts.googleapis.com"> |
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
<!-- Thêm nhiều font chữ Comic mới --> |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Bangers&family=Comic+Neue:wght@400;700&family=Patrick+Hand&family=Luckiest+Guy&family=Kalam:wght@400;700&family=Architects+Daughter&display=swap" rel="stylesheet"> |
<!-- Thư viện JSZip để tạo file zip --> |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"></script> |
<!-- Thư viện html2canvas để chụp ảnh màn hình DOM --> |
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js"></script> |
<!-- NEW: Thư viện Cropper.js để cắt ảnh --> |
<link href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.13/cropper.min.css" rel="stylesheet"> |
<script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.13/cropper.min.js"></script> |
<style> |
body { |
font-family: 'Inter', sans-serif; |
background-color: #f3f4f6; |
} |
.container { |
max-width: 1200px; |
margin: 0 auto; |
padding: 2rem; |
} |
.story-page { |
position: relative; |
background-color: white; |
padding: 1rem; |
border-radius: 12px; |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
transition: transform 0.2s; |
} |
.story-page:hover { |
transform: translateY(-4px); |
} |
.image-container { |
position: relative; |
width: 100%; |
height: auto; |
background-color: #e5e7eb; |
border-radius: 8px; |
overflow: hidden; |
border: 1px solid #d1d5db; |
} |
.image-container img, .image-container canvas { |
width: 100%; |
height: auto; |
display: block; |
} |
.final-page-composite { |
position: relative; |
width: 100%; |
line-height: 0; |
} |
.final-page-composite > img { |
width: 100%; |
height: auto; |
border-radius: 8px; |
} |
/* REMOVED: .final-page-dialogue is no longer needed as text is burned into the image */ |
.modal { |
position: fixed; |
top: 0; |
left: 0; |
width: 100%; |
height: 100%; |
background-color: rgba(0, 0, 0, 0.9); |
display: none; |
justify-content: center; |
align-items: center; |
z-index: 1000; |
} |
.modal-content { |
max-width: 90%; |
max-height: 90%; |
} |
.modal-content img { |
width: auto; |
height: auto; |
max-width: 100%; |
max-height: 100%; |
object-fit: contain; |
} |
.close-btn { |
position: absolute; |
top: 20px; |
right: 30px; |
color: white; |
font-size: 40px; |
font-weight: bold; |
cursor: pointer; |
} |
.prompt-textarea { |
resize: none; |
overflow: hidden; |
End of preview. Expand in Data Studio
bep40/ml-intern-351ae318-datasets
Private dataset files uploaded through ML Intern.
Files are stored under uploads/<upload_id>/ and are attached to the
corresponding ML Intern session context by Hub reference, not by copying file
contents into the chat.
Each uploaded file is exposed as its own dataset config so files with different schemas can coexist in the same session repo.
- Downloads last month
- 18