Spaces:
Runtime error
Runtime error
Update app.py
Browse files10 unmodified lines11121314151617181920212223242558 unmodified lines8485867879878889909110 unmodified lines# a machine learning library that that performs cosine similarity calculationsimport numpy as np
theme = gr.themes.Soft( primary_hue="pink", secondary_hue="pink", neutral_hue="fuchsia",).set( link_text_color='*secondary_700', background_fill_primary = 'primary_600')
# upload knowledge base - from sentiment analysis labwith open("essay_writing.txt", "r", encoding="utf-8") as f: essay_writing = f.read()58 unmodified linestitle_hotline = "# Need help? Look for your city and try these helpful hotlines."hotline_text = """#### Check out these hotlines"""
with gr.Blocks() as chatbot:# gr.Markdown(welcome_message)with gr.Blocks (theme = theme) as chatbot: # chatbot = gr.Chatbot())# gr.Markdown(welcome_message) with gr.Row(): with gr.Column(): gr.Markdown(title)app.py+11-2