Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
06fd2b2
1
Parent(s):
c07df32
Remove HF_TOKEN from t2i_client initialization and update model reference
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ from trellis.utils import render_utils, postprocessing_utils
|
|
17 |
from gradio_client import Client
|
18 |
|
19 |
llm_client = Client("Qwen/Qwen2.5-72B-Instruct")
|
20 |
-
t2i_client = Client("black-forest-labs/FLUX.1-
|
21 |
|
22 |
def generate_t2i_prompt(item_name):
|
23 |
llm_prompt_template = """You are tasked with creating a concise yet highly detailed description of an item to be used for generating an image in a game development pipeline. The image should show the **entire item** with no parts cropped or hidden. The background should always be plain and monocolor, with no focus on it.
|
|
|
17 |
from gradio_client import Client
|
18 |
|
19 |
llm_client = Client("Qwen/Qwen2.5-72B-Instruct")
|
20 |
+
t2i_client = Client("black-forest-labs/FLUX.1-schnell")
|
21 |
|
22 |
def generate_t2i_prompt(item_name):
|
23 |
llm_prompt_template = """You are tasked with creating a concise yet highly detailed description of an item to be used for generating an image in a game development pipeline. The image should show the **entire item** with no parts cropped or hidden. The background should always be plain and monocolor, with no focus on it.
|