Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# π English-to-French Translation App
|
| 2 |
|
| 3 |
A Gradio web interface for translating English text to French using Hugging Face's T5 transformer models.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: "English to French Translator"
|
| 3 |
+
emoji: "π"
|
| 4 |
+
colorFrom: "indigo"
|
| 5 |
+
colorTo: "purple"
|
| 6 |
+
sdk: "gradio"
|
| 7 |
+
sdk_version: "3.40.0"
|
| 8 |
+
app_file: "app.py"
|
| 9 |
+
pinned: true
|
| 10 |
+
license: "apache-2.0"
|
| 11 |
+
|
| 12 |
+
# Hardware & Resources
|
| 13 |
+
hardware:
|
| 14 |
+
accelerator: "CPU" # Options: CPU, GPU, T4, A10G, A100, etc.
|
| 15 |
+
cpu: "2"
|
| 16 |
+
memory: "8GB"
|
| 17 |
+
|
| 18 |
+
# Environment Variables (for API keys/secrets)
|
| 19 |
+
env:
|
| 20 |
+
- name: "HF_TOKEN"
|
| 21 |
+
description: "Hugging Face API token for private models"
|
| 22 |
+
required: false
|
| 23 |
+
|
| 24 |
+
# Persistent Storage (for caching models/data)
|
| 25 |
+
datasets:
|
| 26 |
+
- "opus_books"
|
| 27 |
+
- "wmt14"
|
| 28 |
+
|
| 29 |
+
# Advanced Options
|
| 30 |
+
custom:
|
| 31 |
+
progress: "true" # Show build progress
|
| 32 |
+
timeout: 300 # Build timeout in seconds
|
| 33 |
+
docker: # Custom Docker settings
|
| 34 |
+
parent_space: "username/space-name" # For inheritance
|
| 35 |
+
|
| 36 |
+
# Tags (Max 5 for visibility)
|
| 37 |
+
tags:
|
| 38 |
+
- translation
|
| 39 |
+
- nlp
|
| 40 |
+
- t5
|
| 41 |
+
- multilingual
|
| 42 |
+
- huggingface
|
| 43 |
+
---
|
| 44 |
# π English-to-French Translation App
|
| 45 |
|
| 46 |
A Gradio web interface for translating English text to French using Hugging Face's T5 transformer models.
|