Spaces:
Build error
Build error
Update app.py
Browse files820 unmodified lines82182282382482582632 unmodified lines8598608618628638648658668678684 unmodified lines87387487587687787887988088188288388488516 unmodified lines902903904905820 unmodified linesbackground-color: #8a92f7; /* Darker shade on hover */}/* Customizing the Logout link to be on the right */.logout-link {text-align: right;32 unmodified linesgr.Markdown("<div class='logout-link'><a href='/logout'><b>Logout</b></a></div>")with gr.Row():sample_button = gr.Button("What is the expected receiving date and the status of ASN24081900001",elem_classes="gr-button")sample_button1 = gr.Button("What are the active warehouses available",elem_classes="gr-button")sample_button2 = gr.Button("Explain Pre-Receiving Yard Management",elem_classes="gr-button")sample_button3 = gr.Button("Can you generate a pie chart with item names and quantities in warehouse WH",elem_classes="gr-button")sample_button4 = gr.Button("Analyze item name and quantity for different customers in a stacked bar chart for the warehouse WH & send email to meetarun@gmail.com", elem_classes="gr-button")with gr.Row():4 unmodified linesmessage = gr.Textbox(show_label=False, container=False, placeholder="Please enter your question")with gr.Row():feedback_textbox = gr.Textbox(visible=False, show_label=False, container=False, placeholder="Please enter your feedback.")submit_feedback_button = gr.Button("Submit Feedback", visible=False,elem_classes="gr-button")with gr.Column(scale=1):with gr.Row():button = gr.Button("Submit", elem_id="submit",elem_classes="gr-button")# Button to stop the current processingstop_button = gr.Button("Stop", elem_classes="gr-button")#gr.ClearButton(message, elem_classes="gr-button")stop_button.click(stop_processing, [chatbot],[chatbot])16 unmodified lines#demo.unload(lambda: send_mail_with_history(chatbot))demo.title = "RedmindGPT"#user_details for login pagedemo.launch(auth=[("lakshmi", "redmind"), ("arun", "redmind"), ("NewageGlobal", "Newage123$")])820 unmodified lines82182282382482582682782882983083183283383483583683783883984084132 unmodified lines8748758768778788798808818828834 unmodified lines88888989089189289389489589689789889990016 unmodified lines917918919920820 unmodified linesbackground-color: #8a92f7; /* Darker shade on hover */}.gr-buttonbig {background-color: #6366f1; /* Change to your desired button color */color: white;border-radius: 8px; /* Make the corners rounded */border: none;padding: 10px 20px;font-size: 14px;cursor: pointer;}.gr-buttonbig:hover {background-color: #8a92f7; /* Darker shade on hover */}/* Customizing the Logout link to be on the right */.logout-link {text-align: right;32 unmodified linesgr.Markdown("<div class='logout-link'><a href='/logout'><b>Logout</b></a></div>")with gr.Row():sample_button = gr.Button("What is the expected receiving date and the status of ASN24081900001",elem_classes="gr-buttonbig")sample_button1 = gr.Button("What are the active warehouses available",elem_classes="gr-buttonbig")sample_button2 = gr.Button("Explain Pre-Receiving Yard Management",elem_classes="gr-buttonbig")sample_button3 = gr.Button("Can you generate a pie chart with item names and quantities in warehouse WH",elem_classes="gr-buttonbig")sample_button4 = gr.Button("Analyze item name and quantity for different customers in a stacked bar chart for the warehouse WH & send email to meetarun@gmail.com", elem_classes="gr-button")with gr.Row():4 unmodified linesmessage = gr.Textbox(show_label=False, container=False, placeholder="Please enter your question")with gr.Row():feedback_textbox = gr.Textbox(visible=False, show_label=False, container=False, placeholder="Please enter your feedback.")submit_feedback_button = gr.Button("Submit Feedback", visible=False,elem_classes="gr-buttonbig")with gr.Column(scale=1):with gr.Row():button = gr.Button("Submit", elem_id="submit",elem_classes="gr-buttonbig")# Button to stop the current processingstop_button = gr.Button("Stop", elem_classes="gr-buttonbig")#gr.ClearButton(message, elem_classes="gr-buttonbig")stop_button.click(stop_processing, [chatbot],[chatbot])16 unmodified lines#demo.unload(lambda: send_mail_with_history(chatbot))demo.title = "RedmindGPT"#user_details for login pagedemo.launch(auth=[("lakshmi", "redmind"), ("arun", "redmind"), ("NewageGlobal", "Newage123$")], auth_message= "RedmindGPT")
app.py+24-9