Spaces:
Runtime error
Runtime error
Commit
·
ad42ce4
1
Parent(s):
4372a92
Fix dropdown options
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ if __name__ == '__main__':
|
|
| 51 |
st.title = "Can I Patent This?"
|
| 52 |
|
| 53 |
form = st.form('patent-prediction-form')
|
| 54 |
-
dropdown = [example['
|
| 55 |
|
| 56 |
input_application = form.selectbox('Select a patent\'s application number', patents_dropdown)
|
| 57 |
submit = form.form_submit_button("Submit")
|
|
|
|
| 51 |
st.title = "Can I Patent This?"
|
| 52 |
|
| 53 |
form = st.form('patent-prediction-form')
|
| 54 |
+
dropdown = [example['patent_number'] for example in dataset]
|
| 55 |
|
| 56 |
input_application = form.selectbox('Select a patent\'s application number', patents_dropdown)
|
| 57 |
submit = form.form_submit_button("Submit")
|