saswatdas123 commited on
Commit
0dd18b0
β€’
1 Parent(s): 4463e31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -32
app.py CHANGED
@@ -1,33 +1,16 @@
1
  import streamlit as st
2
-
3
-
4
-
5
- st.set_page_config("Welcome")
6
-
7
- st.write("# Welcome to PatentGuru! πŸ‘‹")
8
- st.sidebar.success("Select a demo above")
9
-
10
- st.markdown(
11
- """
12
- PatentGuru is an patent search assistant built specifically for
13
- building patents on any subject. The project uses data from Google patents covering a gamut of 1.3 mn granted patents
14
- across all categories
15
-
16
- **πŸ‘ˆ Select a demo from the dropdown on the left** to see some examples
17
- of what PatentGuru can do!
18
-
19
- ### Want to learn more about patents?
20
-
21
- - Check out [United States Patent and Trademark office](https://www.uspto.gov/)
22
- - Jump into the Open Source Documentation that was used for embedding [AI-Growth-Lab](https://huggingface.co/AI-Growth-Lab/PatentSBERTa)
23
- - Ask a question in our [community
24
- forums](https://discuss.streamlit.io)
25
-
26
- ### See more on tensor flow datasets
27
-
28
- - Use a tensor flow dataset to [analyze the patent categorization and abstract
29
- Dataset](hhttps://www.tensorflow.org/datasets/catalog/big_patent)
30
- - Explore a [European Patent Office](https://www.epo.org/en)
31
- """
32
- )
33
-
 
1
  import streamlit as st
2
+ import pandas as pd
3
+ from services.multiapp import MultiApp
4
+ from functools import partial
5
+ from pages import ChatPDF_Ingestion, ChatPDF_Reader, Intelligent_Chatbot, Patent_Ingestion, Patent_Search, Prompt_Engineer, About
6
+
7
+
8
+ app = MultiApp()
9
+ app.add_app('About', About.app)
10
+ app.add_app('ChatPDF Ingestion', ChatPDF_Ingestion.app)
11
+ app.add_app('ChatPDF Reader', Intelligent_Chatbot.app)
12
+ app.add_app('Intelligent Chatbot', Intelligent_Chatbot.app)
13
+ app.add_app('Patent Ingestion', Patent_Ingestion.app)
14
+ app.add_app('Patent Search', Patent_Search.app)
15
+ app.add_app('Prompt Engineer', Prompt_Engineer.app)
16
+ app.run()