Update app.py
Browse files
app.py
CHANGED
|
@@ -13,6 +13,7 @@ processor = AutoProcessor.from_pretrained('gokaygokay/Florence-2-SD3-Captioner',
|
|
| 13 |
|
| 14 |
|
| 15 |
TITLE = "# [Florence-2 SD3 Long Captioner](https://huggingface.co/gokaygokay/Florence-2-SD3-Captioner/)"
|
|
|
|
| 16 |
|
| 17 |
def modify_caption(caption: str) -> str:
|
| 18 |
"""
|
|
@@ -74,6 +75,7 @@ css = """
|
|
| 74 |
|
| 75 |
with gr.Blocks(css=css) as demo:
|
| 76 |
gr.Markdown(TITLE)
|
|
|
|
| 77 |
with gr.Tab(label="Florence-2 SD3 Prompts"):
|
| 78 |
with gr.Row():
|
| 79 |
with gr.Column():
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
TITLE = "# [Florence-2 SD3 Long Captioner](https://huggingface.co/gokaygokay/Florence-2-SD3-Captioner/)"
|
| 16 |
+
DESCRIPTION = "[Florence-2 Base](https://huggingface.co/microsoft/Florence-2-base-ft) fine-tuned on Long SD3 Prompt and Image pairs. Check above link for datasets that are used for fine-tuning."
|
| 17 |
|
| 18 |
def modify_caption(caption: str) -> str:
|
| 19 |
"""
|
|
|
|
| 75 |
|
| 76 |
with gr.Blocks(css=css) as demo:
|
| 77 |
gr.Markdown(TITLE)
|
| 78 |
+
gr.Markdown(DESCRIPTION)
|
| 79 |
with gr.Tab(label="Florence-2 SD3 Prompts"):
|
| 80 |
with gr.Row():
|
| 81 |
with gr.Column():
|