Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -129,7 +129,7 @@ if "df" in st.session_state and llm:
|
|
| 129 |
|
| 130 |
# Chat functionality
|
| 131 |
st.write("### Chat with Patent Data")
|
| 132 |
-
user_query = st.text_input("Enter your question about the patent data
|
| 133 |
|
| 134 |
if user_query:
|
| 135 |
try:
|
|
@@ -140,7 +140,7 @@ if "df" in st.session_state and llm:
|
|
| 140 |
|
| 141 |
# Plot generation functionality
|
| 142 |
st.write("### Generate and View Graphs")
|
| 143 |
-
plot_query = st.text_input("Enter a query to generate a graph
|
| 144 |
|
| 145 |
if plot_query:
|
| 146 |
try:
|
|
|
|
| 129 |
|
| 130 |
# Chat functionality
|
| 131 |
st.write("### Chat with Patent Data")
|
| 132 |
+
user_query = st.text_input("Enter your question about the patent data:", value = "Have the patents with the numbers 14908945, 14994130, 14909084, and 14995057 been accepted or rejected? What are their titles?")
|
| 133 |
|
| 134 |
if user_query:
|
| 135 |
try:
|
|
|
|
| 140 |
|
| 141 |
# Plot generation functionality
|
| 142 |
st.write("### Generate and View Graphs")
|
| 143 |
+
plot_query = st.text_input("Enter a query to generate a graph:", value = "What is the distribution of patents categorized as 'ACCEPTED', 'REJECTED', or 'PENDING'?")
|
| 144 |
|
| 145 |
if plot_query:
|
| 146 |
try:
|