Hugo Bui commited on
Commit
f2a2a87
·
unverified ·
1 Parent(s): 4b15d8b
Files changed (1) hide show
  1. Gradio_UI.py +0 -47
Gradio_UI.py CHANGED
@@ -101,52 +101,6 @@ class GradioUI:
101
  messages.append(msg)
102
  return "\n".join([m.content if isinstance(m.content, str) else str(m.content) for m in messages])
103
 
104
- custom_css = """
105
- body {
106
- background: linear-gradient(to bottom, #fefcf7, #f8f1e8);
107
- font-family: 'EB Garamond', 'Georgia', serif;
108
- }
109
- .gradio-container {
110
- padding: 2.5rem;
111
- background-color: #fffdf8;
112
- border: 3px dashed #d2c7b4;
113
- border-radius: 16px;
114
- box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
115
- }
116
- .gr-input input, textarea {
117
- background-color: #fdfaf6 !important;
118
- border: 2px solid #b9b4a1 !important;
119
- border-radius: 12px !important;
120
- font-family: 'Courier New', monospace;
121
- font-size: 15px;
122
- padding: 0.8rem;
123
- }
124
- .gr-button {
125
- background-color: #3d5a73 !important;
126
- color: white !important;
127
- border-radius: 10px !important;
128
- padding: 0.6em 1.2em;
129
- font-weight: bold;
130
- font-size: 16px;
131
- border: none;
132
- }
133
- .gr-button:hover {
134
- background-color: #2e4457 !important;
135
- }
136
- .gr-box {
137
- background-color: #fcf9f3 !important;
138
- border: 2px solid #d9d3c1;
139
- border-radius: 14px;
140
- padding: 1.2rem;
141
- font-size: 15px;
142
- font-family: 'EB Garamond', serif;
143
- }
144
- .gr-markdown h1, h2, h3 {
145
- color: #2e3e4e;
146
- font-weight: 600;
147
- text-align: center;
148
- }
149
- """
150
 
151
  demo = gr.Interface(
152
  fn=run_agent_interface,
@@ -158,7 +112,6 @@ class GradioUI:
158
  outputs=gr.Textbox(label="Response"),
159
  title="Mood-Based Travel Agent",
160
  description="Plan your perfect Mediterranean escape, one mood at a time.",
161
- css=custom_css,
162
  theme="default",
163
  api_name="predict"
164
  )
 
101
  messages.append(msg)
102
  return "\n".join([m.content if isinstance(m.content, str) else str(m.content) for m in messages])
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
 
105
  demo = gr.Interface(
106
  fn=run_agent_interface,
 
112
  outputs=gr.Textbox(label="Response"),
113
  title="Mood-Based Travel Agent",
114
  description="Plan your perfect Mediterranean escape, one mood at a time.",
 
115
  theme="default",
116
  api_name="predict"
117
  )