Update app.py
Browse files8 unmodified lines910111213141516171862 unmodified lines818283848586878889909192939495969798991001011021031041051061071081091101111128 unmodified linessecondary_hue="zinc",neutral_hue="pink")#).set(# link_text_color='*secondary_700',# background_fill_primary = 'primary_600'#)custom_css = """:root { /* This applies to the light mode */62 unmodified linesmessages,max_tokens = 500,stream=True,#temperature = .2top_p = .2):token = message.choices[0].delta.contentresponse += token# print(response)yield response#theme = gr.themes.Ocean(# primary_hue="pink",# secondary_hue="pink",# neutral_hue="fuchsia"# )def display_image():return "Screenshot 2025-06-12 at 10.53.59 AM.png"with gr.Blocks (theme = theme) as chatbot:# chatbot = gr.Chatbot()gr.Image(display_image())gr.ChatInterface(respond, type = "messages", #theme = gr.themes.Soft(#primary_hue="pink",#secondary_hue="pink",#neutral_hue="fuchsia"),title = "Hi, I'm BloomBot! 🌸",textbox= gr.Textbox(placeholder="Share Your Age and Ask Me Anything!"),description = "This tool is here to listen and provide information on female health topics, and all discussions will be kept confidential. ❤️🩹",8 unmodified lines9101112131462 unmodified lines777879808182838485868788899091929394958 unmodified linessecondary_hue="zinc",neutral_hue="pink")custom_css = """:root { /* This applies to the light mode */62 unmodified linesmessages,max_tokens = 500,stream=True,top_p = .2):token = message.choices[0].delta.contentresponse += tokenyield responsedef display_image():return "Screenshot 2025-06-12 at 10.53.59 AM.png"with gr.Blocks (theme = theme) as chatbot:gr.Image(display_image())gr.ChatInterface(respond, type = "messages",title = "Hi, I'm BloomBot! 🌸",textbox= gr.Textbox(placeholder="Share Your Age and Ask Me Anything!"),description = "This tool is here to listen and provide information on female health topics, and all discussions will be kept confidential. ❤️🩹",
app.py+2-19