Spaces:
Runtime error
Runtime error
update pack
Browse files- app.py +1 -1
- requirements.txt +1 -0
- sam2edit.py +1 -1
app.py
CHANGED
@@ -16,4 +16,4 @@ with gr.Blocks() as demo:
|
|
16 |
create_demo_generate_anything()
|
17 |
|
18 |
|
19 |
-
demo.queue(api_open=False).launch()
|
|
|
16 |
create_demo_generate_anything()
|
17 |
|
18 |
|
19 |
+
demo.queue(api_open=False).launch(share=True)
|
requirements.txt
CHANGED
@@ -27,3 +27,4 @@ basicsr==1.4.2
|
|
27 |
diffusers==0.14.0
|
28 |
accelerate==0.14.0
|
29 |
transformers==4.27.4
|
|
|
|
27 |
diffusers==0.14.0
|
28 |
accelerate==0.14.0
|
29 |
transformers==4.27.4
|
30 |
+
xformers==0.0.16
|
sam2edit.py
CHANGED
@@ -253,7 +253,7 @@ def create_demo():
|
|
253 |
enable_auto_prompt = gr.Checkbox(label='Auto generated BLIP2 prompt', value=True)
|
254 |
run_button = gr.Button(label="Run")
|
255 |
condition_model = gr.Dropdown(choices=list(config_dict.keys()),
|
256 |
-
value=list(config_dict.keys())[
|
257 |
label='Model',
|
258 |
multiselect=False)
|
259 |
num_samples = gr.Slider(
|
|
|
253 |
enable_auto_prompt = gr.Checkbox(label='Auto generated BLIP2 prompt', value=True)
|
254 |
run_button = gr.Button(label="Run")
|
255 |
condition_model = gr.Dropdown(choices=list(config_dict.keys()),
|
256 |
+
value=list(config_dict.keys())[1],
|
257 |
label='Model',
|
258 |
multiselect=False)
|
259 |
num_samples = gr.Slider(
|