Spaces:
Running on Zero
Running on Zero
qiaochanghao commited on
Commit ·
2cb93e1
1
Parent(s): f8c2ffd
add local logo pic
Browse files
app.py
CHANGED
|
@@ -238,7 +238,7 @@ css = """
|
|
| 238 |
|
| 239 |
with gr.Blocks(css=css) as demo:
|
| 240 |
with gr.Column(elem_id="col-container"):
|
| 241 |
-
gr.HTML('<img src="logo.png" alt="Firered Logo" width="400" style="display: block; margin: 0 auto;">')
|
| 242 |
gr.Markdown("[Learn more](https://github.com/FireRedTeam/FireRed-Image-Edit) about the FireRed-Image-Edit series. Try [download model](https://huggingface.co/FireRedTeam/FireRed-Image-Edit) to run locally with ComfyUI or diffusers.")
|
| 243 |
with gr.Row():
|
| 244 |
with gr.Column():
|
|
@@ -325,4 +325,5 @@ with gr.Blocks(css=css) as demo:
|
|
| 325 |
)
|
| 326 |
|
| 327 |
if __name__ == "__main__":
|
| 328 |
-
demo.launch()
|
|
|
|
|
|
| 238 |
|
| 239 |
with gr.Blocks(css=css) as demo:
|
| 240 |
with gr.Column(elem_id="col-container"):
|
| 241 |
+
gr.HTML('<img src="file/logo.png" alt="Firered Logo" width="400" style="display: block; margin: 0 auto;">')
|
| 242 |
gr.Markdown("[Learn more](https://github.com/FireRedTeam/FireRed-Image-Edit) about the FireRed-Image-Edit series. Try [download model](https://huggingface.co/FireRedTeam/FireRed-Image-Edit) to run locally with ComfyUI or diffusers.")
|
| 243 |
with gr.Row():
|
| 244 |
with gr.Column():
|
|
|
|
| 325 |
)
|
| 326 |
|
| 327 |
if __name__ == "__main__":
|
| 328 |
+
# demo.launch()
|
| 329 |
+
demo.launch(allowed_paths=["./"])
|