Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,6 @@ hyperlinks = {
|
|
84 |
"Blog": "https://blog.bria.ai/brias-new-state-of-the-art-remove-background-2.0-outperforms-the-competition"
|
85 |
}
|
86 |
|
87 |
-
# Create a formatted description with hyperlinks
|
88 |
description = f"""
|
89 |
Background removal model developed by <a href='{hyperlinks["BRIA.AI"]}' target='_blank'>BRIA.AI</a>, trained on a carefully selected dataset, and is available as an open-source model for non-commercial use.
|
90 |
For testing upload your image and wait.
|
@@ -93,11 +92,9 @@ For testing upload your image and wait.
|
|
93 |
<a href='{hyperlinks["Blog"]}' target='_blank'>Blog</a>
|
94 |
"""
|
95 |
|
96 |
-
# Define tabs for the interface
|
97 |
tab1 = gr.inputs.Image(label="Upload Image")
|
98 |
tab2 = gr.inputs.Textbox(label="Enter URL")
|
99 |
|
100 |
-
# Create the Gradio interface
|
101 |
demo = gr.TabbedInterface(
|
102 |
[tab1, tab2],
|
103 |
["input image", "input url"],
|
|
|
84 |
"Blog": "https://blog.bria.ai/brias-new-state-of-the-art-remove-background-2.0-outperforms-the-competition"
|
85 |
}
|
86 |
|
|
|
87 |
description = f"""
|
88 |
Background removal model developed by <a href='{hyperlinks["BRIA.AI"]}' target='_blank'>BRIA.AI</a>, trained on a carefully selected dataset, and is available as an open-source model for non-commercial use.
|
89 |
For testing upload your image and wait.
|
|
|
92 |
<a href='{hyperlinks["Blog"]}' target='_blank'>Blog</a>
|
93 |
"""
|
94 |
|
|
|
95 |
tab1 = gr.inputs.Image(label="Upload Image")
|
96 |
tab2 = gr.inputs.Textbox(label="Enter URL")
|
97 |
|
|
|
98 |
demo = gr.TabbedInterface(
|
99 |
[tab1, tab2],
|
100 |
["input image", "input url"],
|