Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files- app.py +2 -2
- requirements.txt +9 -7
app.py
CHANGED
|
@@ -313,8 +313,7 @@ footer {
|
|
| 313 |
"""
|
| 314 |
|
| 315 |
with gr.Blocks(
|
| 316 |
-
title="OVIS Image Generator"
|
| 317 |
-
css=apple_css
|
| 318 |
) as demo:
|
| 319 |
# Header
|
| 320 |
gr.HTML("""
|
|
@@ -401,6 +400,7 @@ with gr.Blocks(
|
|
| 401 |
|
| 402 |
if __name__ == "__main__":
|
| 403 |
demo.launch(
|
|
|
|
| 404 |
footer_links=[
|
| 405 |
{"label": "Built with anycoder", "url": "https://huggingface.co/spaces/akhaliq/anycoder"}
|
| 406 |
]
|
|
|
|
| 313 |
"""
|
| 314 |
|
| 315 |
with gr.Blocks(
|
| 316 |
+
title="OVIS Image Generator"
|
|
|
|
| 317 |
) as demo:
|
| 318 |
# Header
|
| 319 |
gr.HTML("""
|
|
|
|
| 400 |
|
| 401 |
if __name__ == "__main__":
|
| 402 |
demo.launch(
|
| 403 |
+
css=apple_css,
|
| 404 |
footer_links=[
|
| 405 |
{"label": "Built with anycoder", "url": "https://huggingface.co/spaces/akhaliq/anycoder"}
|
| 406 |
]
|
requirements.txt
CHANGED
|
@@ -1,13 +1,15 @@
|
|
| 1 |
-
spaces
|
| 2 |
-
|
|
|
|
|
|
|
| 3 |
git+https://github.com/huggingface/transformers
|
| 4 |
sentencepiece
|
| 5 |
accelerate
|
| 6 |
-
torch
|
| 7 |
-
torchvision
|
| 8 |
-
torchaudio
|
| 9 |
tokenizers
|
| 10 |
datasets
|
| 11 |
-
gradio
|
| 12 |
requests
|
| 13 |
-
Pillow
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
huggingface-spaces
|
| 2 |
+
gradio
|
| 3 |
+
git+https://github.com/huggingface/diffusers
|
| 4 |
+
torch
|
| 5 |
git+https://github.com/huggingface/transformers
|
| 6 |
sentencepiece
|
| 7 |
accelerate
|
|
|
|
|
|
|
|
|
|
| 8 |
tokenizers
|
| 9 |
datasets
|
|
|
|
| 10 |
requests
|
| 11 |
+
Pillow
|
| 12 |
+
torchvision
|
| 13 |
+
torchaudio
|
| 14 |
+
numpy
|
| 15 |
+
opencv-python
|