updated
Browse files
app.py
CHANGED
@@ -2,5 +2,12 @@ import streamlit as st
|
|
2 |
|
3 |
st.title("Organization Name Generator!")
|
4 |
|
5 |
-
st.sidebar.selectbox("Pick a domain you are interested in: ", ("Data Science", "Artificial Intelligence", "Web Development", "Rocket Science", "Astronomy", "Aviation"))
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
st.title("Organization Name Generator!")
|
4 |
|
5 |
+
domain = st.sidebar.selectbox("Pick a domain you are interested in: ", ("Data Science", "Artificial Intelligence", "Web Development", "Rocket Science", "Astronomy", "Aviation"))
|
6 |
|
7 |
+
if domain:
|
8 |
+
response = langchain_helper.generate_data(domain)
|
9 |
+
st.header(response['restaurant_name'].strip())
|
10 |
+
menu_items = response['menu_items'].strip().split(",")
|
11 |
+
st.write("**Menu Items**")
|
12 |
+
for item in menu_items:
|
13 |
+
st.write("-", item)
|