File size: 530 Bytes
48864e0 e8abd67 48864e0 45b26f9 f74c494 df3b87a f74c494 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import streamlit as st
import langchain_helper
st.title("Organization Name Generator!")
domain = st.sidebar.selectbox("Pick a domain you are interested in: ", ("Data Science", "Artificial Intelligence", "Web Development", "Rocket Science", "Astronomy", "Aviation"))
if domain:
response = langchain_helper.generate_data(domain)
st.header(response['restaurant_name'].strip())
menu_items = response['menu_items'].strip().split(",")
st.write("**Menu Items**")
for item in menu_items:
st.write("-", item) |