Spaces:
Sleeping
Sleeping
Yardenfren
commited on
Commit
•
ace0b06
1
Parent(s):
856c348
Update app_inference.py
Browse files- app_inference.py +13 -0
app_inference.py
CHANGED
@@ -11,6 +11,17 @@ from huggingface_hub import HfApi
|
|
11 |
|
12 |
from inf import InferencePipeline
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
SAMPLE_MODEL_IDS = [
|
15 |
'lora-library/B-LoRA-teddybear',
|
16 |
'lora-library/B-LoRA-bull',
|
@@ -134,6 +145,8 @@ app = InferenceUtil(hf_token)
|
|
134 |
|
135 |
|
136 |
with gr.Blocks(css=css) as demo:
|
|
|
|
|
137 |
with gr.Row(elem_classes="gr-row"):
|
138 |
with gr.Column():
|
139 |
with gr.Group(elem_classes="lora-column"):
|
|
|
11 |
|
12 |
from inf import InferencePipeline
|
13 |
|
14 |
+
|
15 |
+
TITLE = '# Implicit Style-Content Separation using B-LoRA'
|
16 |
+
|
17 |
+
|
18 |
+
DESC = '''<center>
|
19 |
+
This is a demo for our <a href="https://arxiv.org/abs/2403.14572">paper</a>: <b>''Implicit Style-Content Separation using B-LoRA''</b>.
|
20 |
+
<br>
|
21 |
+
Project page and code is available <a href="https://b-lora.github.io/B-LoRA/">here</a>.
|
22 |
+
</center>'''
|
23 |
+
|
24 |
+
|
25 |
SAMPLE_MODEL_IDS = [
|
26 |
'lora-library/B-LoRA-teddybear',
|
27 |
'lora-library/B-LoRA-bull',
|
|
|
145 |
|
146 |
|
147 |
with gr.Blocks(css=css) as demo:
|
148 |
+
gr.Markdown(TITLE)
|
149 |
+
gr.Markdown(DESC)
|
150 |
with gr.Row(elem_classes="gr-row"):
|
151 |
with gr.Column():
|
152 |
with gr.Group(elem_classes="lora-column"):
|