treasuremars commited on
Commit
89ecbdc
·
verified ·
1 Parent(s): 8fccf3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -35
app.py CHANGED
@@ -90,40 +90,6 @@ Disclaimer: This chatbot is for informational purposes only and not a substitute
90
  """
91
 
92
  # Customizing Gradio interface for a better look
93
-
94
- # HTML for custom styling
95
- custom_css = """
96
- body {
97
- background-color: #f9f9f9;
98
- font-family: Arial, sans-serif;
99
- }
100
-
101
- #interface-container {
102
- max-width: 800px;
103
- margin: auto;
104
- padding: 20px;
105
- background: linear-gradient(145deg, #f0f0f0, #ffffff);
106
- border: 1px solid #ccc;
107
- border-radius: 10px;
108
- box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
109
- }
110
-
111
- h1, h2, h3 {
112
- color: #333;
113
- }
114
-
115
- textarea {
116
- font-size: 16px;
117
- }
118
-
119
- footer {
120
- text-align: center;
121
- color: #777;
122
- margin-top: 20px;
123
- }
124
- """
125
-
126
- # Customizing Gradio interface with additional CSS and content
127
  demo = gr.Interface(
128
  fn=rag_memory_stream,
129
  inputs=gr.Textbox(
@@ -137,7 +103,6 @@ demo = gr.Interface(
137
  ),
138
  title=title,
139
  description=description,
140
- css=custom_css,
141
  allow_flagging="never"
142
  )
143
 
 
90
  """
91
 
92
  # Customizing Gradio interface for a better look
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  demo = gr.Interface(
94
  fn=rag_memory_stream,
95
  inputs=gr.Textbox(
 
103
  ),
104
  title=title,
105
  description=description,
 
106
  allow_flagging="never"
107
  )
108