Upload folder using huggingface_hub
Browse files
src/__pycache__/gradio_app.cpython-39.pyc
CHANGED
|
Binary files a/src/__pycache__/gradio_app.cpython-39.pyc and b/src/__pycache__/gradio_app.cpython-39.pyc differ
|
|
|
src/__pycache__/prompts.cpython-39.pyc
CHANGED
|
Binary files a/src/__pycache__/prompts.cpython-39.pyc and b/src/__pycache__/prompts.cpython-39.pyc differ
|
|
|
src/assets/lenox.png
ADDED
|
src/gradio_app.py
CHANGED
|
@@ -321,8 +321,10 @@ def run_summarization_model_gradio(
|
|
| 321 |
run_local (bool, optional): Whether to run the gradio app locally. Defaults to False.
|
| 322 |
|
| 323 |
"""
|
| 324 |
-
title = "
|
| 325 |
-
description =
|
|
|
|
|
|
|
| 326 |
|
| 327 |
with gr.Blocks(
|
| 328 |
theme="soft",
|
|
@@ -384,6 +386,7 @@ def generate_title(title: str, description: str):
|
|
| 384 |
"""
|
| 385 |
+ f"""
|
| 386 |
<div class="awesome-title">
|
|
|
|
| 387 |
<h1>{title}</h1>
|
| 388 |
<p>{description}</p>
|
| 389 |
</div>
|
|
|
|
| 321 |
run_local (bool, optional): Whether to run the gradio app locally. Defaults to False.
|
| 322 |
|
| 323 |
"""
|
| 324 |
+
title = "Legal Document Assistant"
|
| 325 |
+
description = (
|
| 326 |
+
f"This is a proof of concept. Don't upload any confidential documents."
|
| 327 |
+
)
|
| 328 |
|
| 329 |
with gr.Blocks(
|
| 330 |
theme="soft",
|
|
|
|
| 386 |
"""
|
| 387 |
+ f"""
|
| 388 |
<div class="awesome-title">
|
| 389 |
+
<img src="https://aeiljuispo.cloudimg.io/v7/https://cdn-uploads.huggingface.co/production/uploads/64e3560ad5e75575cd641c9c/WpgaNwGDfaTMjsimt8i87.png" alt="Lenox AI" style="height: 80%; position:absolute;">
|
| 390 |
<h1>{title}</h1>
|
| 391 |
<p>{description}</p>
|
| 392 |
</div>
|