shivrajkarewar commited on
Commit
b6f7bce
·
verified ·
1 Parent(s): c06d9dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,8 +74,7 @@ with gr.Blocks(title="Materials Science Expert Chatbot") as demo:
74
 
75
  submit_btn.click(chat_with_groq, inputs=user_input, outputs=output)
76
 
77
- # CSS for orange submit button
78
- demo.load(lambda: None, js=None, css="""
79
  #orange-btn {
80
  background-color: #f97316 !important;
81
  color: white !important;
@@ -84,6 +83,7 @@ with gr.Blocks(title="Materials Science Expert Chatbot") as demo:
84
  }
85
  """)
86
 
 
87
  # Launch the app
88
  if __name__ == "__main__":
89
  demo.launch()
 
74
 
75
  submit_btn.click(chat_with_groq, inputs=user_input, outputs=output)
76
 
77
+ gr.CSS("""
 
78
  #orange-btn {
79
  background-color: #f97316 !important;
80
  color: white !important;
 
83
  }
84
  """)
85
 
86
+
87
  # Launch the app
88
  if __name__ == "__main__":
89
  demo.launch()