laverdes commited on
Commit
81aa961
·
verified ·
1 Parent(s): 9dfbd31

fix: no styling is being applied for now

Browse files

I would have to modify [Gradio_UI](https://huggingface.co/spaces/laverdes/Alfredo/blob/main/Gradio_UI.py)

Files changed (1) hide show
  1. app.py +1 -38
app.py CHANGED
@@ -86,41 +86,4 @@ agent = CodeAgent(
86
  prompt_templates=prompt_templates
87
  )
88
 
89
- custom_css = """
90
- /* Apply a nice background gradient to the whole page */
91
- body {
92
- background: linear-gradient(135deg, #667eea, #764ba2);
93
- font-family: 'Roboto', sans-serif;
94
- }
95
-
96
- /* Style the main container with a border, padding, and shadow */
97
- .gradio-container {
98
- border: 2px solid #ffffff;
99
- padding: 20px;
100
- border-radius: 10px;
101
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
102
- }
103
-
104
- /* Example: style all headings inside the container */
105
- .gradio-container h1,
106
- .gradio-container h2,
107
- .gradio-container h3 {
108
- color: #ffffff;
109
- }
110
-
111
- /* Customize buttons appearance */
112
- button {
113
- background-color: #4A90E2;
114
- border: none;
115
- border-radius: 5px;
116
- color: white;
117
- padding: 10px 20px;
118
- font-size: 16px;
119
- cursor: pointer;
120
- transition: background-color 0.3s ease;
121
- }
122
- button:hover {
123
- background-color: #357ABD;
124
- }
125
- """
126
- GradioUI(agent).launch(css=custom_css)
 
86
  prompt_templates=prompt_templates
87
  )
88
 
89
+ GradioUI(agent).launch()