Spaces:
Runtime error
Runtime error
Upload requirements.txt
Browse files- requirements.txt +23 -0
requirements.txt
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
fastapi
|
2 |
+
uvicorn[standard] # Includes request parsing utils
|
3 |
+
python-multipart # For potential future form data handling
|
4 |
+
Pillow # For image handling
|
5 |
+
# --- AnimeGAN Dependencies ---
|
6 |
+
# You MUST find the correct libraries for the specific AnimeGAN model you use.
|
7 |
+
# This is an EXAMPLE - check the model card on Hugging Face Hub!
|
8 |
+
torch # Or tensorflow, depending on the model
|
9 |
+
torchvision # Often needed with torch models
|
10 |
+
numpy
|
11 |
+
# Maybe specific model libraries like:
|
12 |
+
# transformers # If the model is integrated via transformers
|
13 |
+
# diffusers # If it's a diffusion model variant
|
14 |
+
# Or potentially a direct clone/install of an AnimeGAN repo if necessary
|
15 |
+
# Example (if using a specific known package):
|
16 |
+
# animegan2-pytorch # <--- This package might not exist, find the actual one!
|
17 |
+
|
18 |
+
# A common AnimeGAN implementation source might be:
|
19 |
+
# git+https://github.com/TachibanaYoshino/AnimeGANv2 # Example, might need adjustments
|
20 |
+
|
21 |
+
# For Inference with Hugging Face Hub models:
|
22 |
+
requests
|
23 |
+
huggingface_hub
|