Update app.py
Browse files8 unmodified lines910111213141512131462 unmodified lines77787984808182838984919293949596979885868788899010491106107108109929394958 unmodified lines secondary_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 lines messages, max_tokens = 500, stream=True, #temperature = .2 top_p = .2 ): token = message.choices[0].delta.content response += 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"), 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