Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ pipe = pipe.to("cuda")
|
|
31 |
print("pipeline is loaded.")
|
32 |
|
33 |
@spaces.GPU
|
34 |
-
def process_image_and_text(global_caption, box_detail_phrases_list:pd.DataFrame, boxes:pd.DataFrame,seed: int=
|
35 |
|
36 |
if randomize_seed:
|
37 |
seed = torch.randint(0, 100, (1,)).item()
|
|
|
31 |
print("pipeline is loaded.")
|
32 |
|
33 |
@spaces.GPU
|
34 |
+
def process_image_and_text(global_caption, box_detail_phrases_list:pd.DataFrame, boxes:pd.DataFrame,seed: int=21, randomize_seed: bool=False, guidance_scale: float=7.5, num_inference_steps: int=50):
|
35 |
|
36 |
if randomize_seed:
|
37 |
seed = torch.randint(0, 100, (1,)).item()
|