Update app.py
Browse files
app.py
CHANGED
|
@@ -37,9 +37,19 @@ if 'learning_objectives' not in st.session_state:
|
|
| 37 |
if 'whisper_model' not in st.session_state:
|
| 38 |
st.session_state.whisper_model = whisper.load_model("base")
|
| 39 |
|
| 40 |
-
#
|
| 41 |
-
st.title("Patent Claims Extraction")
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
# API Key Input
|
| 44 |
api_key = st.text_input("Enter your OpenAI API Key:", type="password")
|
| 45 |
|
|
|
|
| 37 |
if 'whisper_model' not in st.session_state:
|
| 38 |
st.session_state.whisper_model = whisper.load_model("base")
|
| 39 |
|
| 40 |
+
#StreamlitInterface
|
|
|
|
| 41 |
|
| 42 |
+
markdown_text = """
|
| 43 |
+
# 👋🏻Welcome to [Team](https://huggingface.co/TeamTonic) [Tonic](https://huggingface.co/Tonic) 's Patentable Claims Extractor.
|
| 44 |
+
|
| 45 |
+
Here you can input audio and text and extract patentable claims from these conversational inputs using [LegalBert](nlpaueb/legal-bert-base-uncased).
|
| 46 |
+
|
| 47 |
+
- Save time and effort when ideating for your future business.
|
| 48 |
+
|
| 49 |
+
"""
|
| 50 |
+
|
| 51 |
+
# Render the Markdown content
|
| 52 |
+
st.markdown(markdown_text)
|
| 53 |
# API Key Input
|
| 54 |
api_key = st.text_input("Enter your OpenAI API Key:", type="password")
|
| 55 |
|