Spaces:
Runtime error
Runtime error
Commit
·
a3e24cd
1
Parent(s):
2c84034
Update app.py
Browse files
app.py
CHANGED
|
@@ -366,12 +366,17 @@ theme = gr.themes.Base(
|
|
| 366 |
)
|
| 367 |
|
| 368 |
with gr.Blocks(title='Claimed', theme=theme) as demo:
|
|
|
|
| 369 |
gr.Markdown("""
|
| 370 |
# CLAIMED - A GENERATIVE TOOLKIT FOR PATENT ATTORNEYS AND INVENTORS
|
| 371 |
The patenting process can be complex, time-consuming and expensive. We believe that AI will one day solve these problems.
|
| 372 |
|
| 373 |
-
|
|
|
|
|
|
|
|
|
|
| 374 |
Please note that this is for research purposes and shouldn't be used commercially.
|
|
|
|
| 375 |
None of the outputs of this model, taken in part or in its entirety, constitutes legal advice. If you are seeking protection for you intellectual property, consult a registered patent/trademark attorney.
|
| 376 |
""")
|
| 377 |
|
|
@@ -472,11 +477,11 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
|
|
| 472 |
classify_btn = gr.Button("Classify")
|
| 473 |
classify_btn.click(fn=classifier, inputs=[userin, ClassifyChoices] , outputs=output)
|
| 474 |
|
| 475 |
-
|
| 476 |
with gr.Tab("Chat"):
|
| 477 |
gr.Markdown("""
|
| 478 |
Do you want a bit more freedom over the outputs you generate? No problem! You can use a chatbot version of our model below. You can ask it anything.
|
| 479 |
-
|
|
|
|
| 480 |
""")
|
| 481 |
with gr.Row(scale=1, min_width=600):
|
| 482 |
with gr.Column():
|
|
@@ -496,7 +501,7 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
|
|
| 496 |
# gr.Markdown("""
|
| 497 |
# # THE CHATBOT
|
| 498 |
# Do you want a bit more freedom over the outputs you generate? No problem! You can use a chatbot version of our model below. You can ask it anything.
|
| 499 |
-
# If you're concerned about a particular output,
|
| 500 |
# """)
|
| 501 |
|
| 502 |
# chatbot = gr.Chatbot([], elem_id="Claimed Assistant").style(height=500)
|
|
@@ -518,9 +523,12 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
|
|
| 518 |
|
| 519 |
gr.Markdown("""
|
| 520 |
# HAVE AN IDEA? GET IT CLAIMED
|
|
|
|
| 521 |
In the future, we are looking to expand our model's capabilities further to assist in a range of IP related tasks.
|
|
|
|
| 522 |
If you are interested in using a more powerful model that we have trained, or if you have any suggestions of features you would like to see us add, please get in touch!
|
| 523 |
-
|
|
|
|
| 524 |
|
| 525 |
""")
|
| 526 |
demo.queue(max_size=15)
|
|
|
|
| 366 |
)
|
| 367 |
|
| 368 |
with gr.Blocks(title='Claimed', theme=theme) as demo:
|
| 369 |
+
|
| 370 |
gr.Markdown("""
|
| 371 |
# CLAIMED - A GENERATIVE TOOLKIT FOR PATENT ATTORNEYS AND INVENTORS
|
| 372 |
The patenting process can be complex, time-consuming and expensive. We believe that AI will one day solve these problems.
|
| 373 |
|
| 374 |
+
As a proof of concept, we've trained Meta's Llama on over 200k entries, with a focus on tasks related to the intellectual property domain.
|
| 375 |
+
|
| 376 |
+
We are currently running this demo on a less powerful version of our model due to computational limitations. If you would like to see our most powerful model in action, please contact us at this email: [email protected]
|
| 377 |
+
|
| 378 |
Please note that this is for research purposes and shouldn't be used commercially.
|
| 379 |
+
|
| 380 |
None of the outputs of this model, taken in part or in its entirety, constitutes legal advice. If you are seeking protection for you intellectual property, consult a registered patent/trademark attorney.
|
| 381 |
""")
|
| 382 |
|
|
|
|
| 477 |
classify_btn = gr.Button("Classify")
|
| 478 |
classify_btn.click(fn=classifier, inputs=[userin, ClassifyChoices] , outputs=output)
|
| 479 |
|
|
|
|
| 480 |
with gr.Tab("Chat"):
|
| 481 |
gr.Markdown("""
|
| 482 |
Do you want a bit more freedom over the outputs you generate? No problem! You can use a chatbot version of our model below. You can ask it anything.
|
| 483 |
+
We haven't done any filtering, so that we get a flavour of exactly which biases/inappropriate responses exist in our model.
|
| 484 |
+
If you're concerned about any outputs, please get in contact with us to let us know what you saw. We will use this inform the development of later versions of this model.
|
| 485 |
""")
|
| 486 |
with gr.Row(scale=1, min_width=600):
|
| 487 |
with gr.Column():
|
|
|
|
| 501 |
# gr.Markdown("""
|
| 502 |
# # THE CHATBOT
|
| 503 |
# Do you want a bit more freedom over the outputs you generate? No problem! You can use a chatbot version of our model below. You can ask it anything.
|
| 504 |
+
# If you're concerned about a particular output, please
|
| 505 |
# """)
|
| 506 |
|
| 507 |
# chatbot = gr.Chatbot([], elem_id="Claimed Assistant").style(height=500)
|
|
|
|
| 523 |
|
| 524 |
gr.Markdown("""
|
| 525 |
# HAVE AN IDEA? GET IT CLAIMED
|
| 526 |
+
|
| 527 |
In the future, we are looking to expand our model's capabilities further to assist in a range of IP related tasks.
|
| 528 |
+
|
| 529 |
If you are interested in using a more powerful model that we have trained, or if you have any suggestions of features you would like to see us add, please get in touch!
|
| 530 |
+
|
| 531 |
+
As far as data is concerned, you have nothing to worry about! We don't store any of your inputs to use for further training!
|
| 532 |
|
| 533 |
""")
|
| 534 |
demo.queue(max_size=15)
|