Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,11 +23,17 @@ def create_tabs_header(topic, description, references):
|
|
23 |
with gr.Row():
|
24 |
with gr.Column(scale=4):
|
25 |
reference_list = "> " + "\n> ".join(references)
|
26 |
-
|
27 |
## {topic}
|
28 |
### {description}
|
29 |
{reference_list}
|
30 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
with gr.Column(scale=1):
|
32 |
test_pipeline_button = gr.Button(value="Process")
|
33 |
return test_pipeline_button
|
|
|
23 |
with gr.Row():
|
24 |
with gr.Column(scale=4):
|
25 |
reference_list = "> " + "\n> ".join(references)
|
26 |
+
content = f"""
|
27 |
## {topic}
|
28 |
### {description}
|
29 |
{reference_list}
|
30 |
+
"""
|
31 |
+
# gr.Markdown(f"""
|
32 |
+
# ## {topic}
|
33 |
+
# ### {description}
|
34 |
+
# {reference_list}
|
35 |
+
# """)
|
36 |
+
gr.Markdown(content)
|
37 |
with gr.Column(scale=1):
|
38 |
test_pipeline_button = gr.Button(value="Process")
|
39 |
return test_pipeline_button
|