MogulojuSai's picture
Upload 3 files
3c3d69b verified
raw
history blame contribute delete
489 Bytes
import streamlit as st
import langchain_helper
st.title("Restaurant Name Generator")
cuisine = st.sidebar.selectbox("Pick a Cuisine", ("Indian", "Italian", "Maxicon","Arabic"))
if cuisine:
response = langchain_helper.generate_restaurant_name_and_items(cuisine)
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)