ZennyKenny commited on
Commit
1d62332
Β·
verified Β·
1 Parent(s): 871a38f

remove css

Browse files
Files changed (1) hide show
  1. app.py +1 -27
app.py CHANGED
@@ -71,34 +71,8 @@ def use_template():
71
  template_categories = ["Product Experience", "Customer Support", "Price of Service", "Other"]
72
  return template_categories, f"**Categories:**\n" + "\n".join([f"- {cat}" for cat in template_categories])
73
 
74
- # Custom CSS for button styling
75
- custom_css = """
76
- /* Style buttons only */
77
- button:not(.file-upload-button) {
78
- background-color: #4c6bfd !important;
79
- border: none !important;
80
- color: white !important;
81
- padding: 10px 20px !important;
82
- text-align: center !important;
83
- text-decoration: none !important;
84
- display: inline-block !important;
85
- font-size: 16px !important;
86
- border-radius: 5px !important;
87
- transition: background-color 0.3s ease !important;
88
- }
89
-
90
- button:not(.file-upload-button):hover {
91
- background-color: #3a52cc !important;
92
- }
93
-
94
- /* Hide footer */
95
- footer {
96
- visibility: hidden;
97
- }
98
- """
99
-
100
  # Gradio Interface
101
- with gr.Blocks(css=custom_css) as nps:
102
  # State to store categories
103
  categories = gr.State([])
104
 
 
71
  template_categories = ["Product Experience", "Customer Support", "Price of Service", "Other"]
72
  return template_categories, f"**Categories:**\n" + "\n".join([f"- {cat}" for cat in template_categories])
73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  # Gradio Interface
75
+ with gr.Blocks() as nps:
76
  # State to store categories
77
  categories = gr.State([])
78