Manojajj commited on
Commit
35c839b
1 Parent(s): 1afe94e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -12
app.py CHANGED
@@ -53,33 +53,34 @@ def chat_with_model(user_input, hf_api_key):
53
  except Exception as e:
54
  return f"Error: {e}"
55
 
56
- # Create the Gradio interface with a dark theme
57
  with gr.Blocks(
58
  css="""
59
  body {
60
- background-color: #121212;
61
- color: #ffffff;
62
  }
63
  .gradio-container {
64
- background-color: #1e1e1e;
 
65
  }
66
  .gradio-container input, .gradio-container textarea, .gradio-container button {
67
- color: #ffffff;
68
- background-color: #2e2e2e;
69
- border: 1px solid #555555;
70
  }
71
  .gradio-container textarea::placeholder, .gradio-container input::placeholder {
72
- color: #bbbbbb;
73
  }
74
  .gradio-container button {
75
- background-color: #333333;
76
- border: 1px solid #777777;
77
  }
78
  .gradio-container button:hover {
79
- background-color: #444444;
80
  }
81
  #title, #description {
82
- color: #ffffff !important;
83
  }
84
  """
85
  ) as demo:
 
53
  except Exception as e:
54
  return f"Error: {e}"
55
 
56
+ # Create the Gradio interface with a light theme and black text
57
  with gr.Blocks(
58
  css="""
59
  body {
60
+ background-color: #f9f9f9;
61
+ color: #000000;
62
  }
63
  .gradio-container {
64
+ background-color: #ffffff;
65
+ color: #000000;
66
  }
67
  .gradio-container input, .gradio-container textarea, .gradio-container button {
68
+ color: #000000;
69
+ background-color: #ffffff;
70
+ border: 1px solid #cccccc;
71
  }
72
  .gradio-container textarea::placeholder, .gradio-container input::placeholder {
73
+ color: #777777;
74
  }
75
  .gradio-container button {
76
+ background-color: #f0f0f0;
77
+ border: 1px solid #cccccc;
78
  }
79
  .gradio-container button:hover {
80
+ background-color: #e6e6e6;
81
  }
82
  #title, #description {
83
+ color: #000000 !important;
84
  }
85
  """
86
  ) as demo: