Spaces:
Sleeping
Sleeping
Update readme,
Browse filesgradio version, python version
- README.md +2 -2
- app.py +2 -2
- pre-requirements.txt +1 -1
README.md
CHANGED
|
@@ -4,8 +4,8 @@ emoji: 🌖
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
-
python_version: 3.12.
|
| 8 |
-
sdk_version: 5.
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
short_description: Transform Your Images into Mesmerizing Hexagon Grids
|
|
|
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
python_version: 3.12.8
|
| 8 |
+
sdk_version: 5.50.0
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
short_description: Transform Your Images into Mesmerizing Hexagon Grids
|
app.py
CHANGED
|
@@ -6,6 +6,8 @@ from gradio.blocks import postprocess_update_dict
|
|
| 6 |
import numpy as np
|
| 7 |
from typing import Any, Dict, List, Optional, Union
|
| 8 |
|
|
|
|
|
|
|
| 9 |
import torch
|
| 10 |
from PIL import Image
|
| 11 |
import gradio as gr
|
|
@@ -88,8 +90,6 @@ from modules.lora_details import (
|
|
| 88 |
get_trigger_words_by_index
|
| 89 |
)
|
| 90 |
|
| 91 |
-
import spaces
|
| 92 |
-
|
| 93 |
input_image_palette = []
|
| 94 |
current_prerendered_image = gr.State("./images/Beeuty-1.png")
|
| 95 |
user_info = {
|
|
|
|
| 6 |
import numpy as np
|
| 7 |
from typing import Any, Dict, List, Optional, Union
|
| 8 |
|
| 9 |
+
import spaces
|
| 10 |
+
|
| 11 |
import torch
|
| 12 |
from PIL import Image
|
| 13 |
import gradio as gr
|
|
|
|
| 90 |
get_trigger_words_by_index
|
| 91 |
)
|
| 92 |
|
|
|
|
|
|
|
| 93 |
input_image_palette = []
|
| 94 |
current_prerendered_image = gr.State("./images/Beeuty-1.png")
|
| 95 |
user_info = {
|
pre-requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
pip>=
|
| 2 |
#torch==2.4.0 --extra-index-url https://download.pytorch.org/whl/cu124
|
| 3 |
#torch-2.4.0%2Bcu124-cp310-cp310-linux_x86_64.whl#sha256=2cb28155635e3d3d0be198e3f3e7457a1d7b99e8c2eedc73fe22fab574d11a4c
|
| 4 |
#torchvision==0.19.0 --extra-index-url https://download.pytorch.org/whl/cu124
|
|
|
|
| 1 |
+
pip>=26.0.0
|
| 2 |
#torch==2.4.0 --extra-index-url https://download.pytorch.org/whl/cu124
|
| 3 |
#torch-2.4.0%2Bcu124-cp310-cp310-linux_x86_64.whl#sha256=2cb28155635e3d3d0be198e3f3e7457a1d7b99e8c2eedc73fe22fab574d11a4c
|
| 4 |
#torchvision==0.19.0 --extra-index-url https://download.pytorch.org/whl/cu124
|