Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def process_ticket_ui(text, difficulty):
|
|
| 113 |
return f"β Error: {str(e)}", "", "", "", "", ""
|
| 114 |
|
| 115 |
# =========================
|
| 116 |
-
# π¨ UI DESIGN
|
| 117 |
# =========================
|
| 118 |
|
| 119 |
custom_css = """
|
|
@@ -122,7 +122,7 @@ body {
|
|
| 122 |
}
|
| 123 |
|
| 124 |
.gradio-container {
|
| 125 |
-
font-family:
|
| 126 |
}
|
| 127 |
|
| 128 |
h1, h2 {
|
|
@@ -131,12 +131,12 @@ h1, h2 {
|
|
| 131 |
}
|
| 132 |
|
| 133 |
textarea, input {
|
| 134 |
-
border-radius:
|
| 135 |
}
|
| 136 |
|
| 137 |
button {
|
| 138 |
-
border-radius:
|
| 139 |
-
transition:
|
| 140 |
}
|
| 141 |
|
| 142 |
button:hover {
|
|
@@ -144,10 +144,10 @@ button:hover {
|
|
| 144 |
}
|
| 145 |
"""
|
| 146 |
|
| 147 |
-
with gr.Blocks(css=custom_css
|
| 148 |
|
| 149 |
gr.Markdown("# π€ AI Ticket Intelligence System")
|
| 150 |
-
gr.Markdown("### Smart β’ Fast β’
|
| 151 |
|
| 152 |
# -------------------------
|
| 153 |
# π€ AGENT
|
|
@@ -213,7 +213,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
|
|
| 213 |
""")
|
| 214 |
|
| 215 |
# =========================
|
| 216 |
-
# π RUN (
|
| 217 |
# =========================
|
| 218 |
if __name__ == "__main__":
|
| 219 |
-
demo.launch(share=True)
|
|
|
|
| 113 |
return f"β Error: {str(e)}", "", "", "", "", ""
|
| 114 |
|
| 115 |
# =========================
|
| 116 |
+
# π¨ UI DESIGN (NO THEME BUG)
|
| 117 |
# =========================
|
| 118 |
|
| 119 |
custom_css = """
|
|
|
|
| 122 |
}
|
| 123 |
|
| 124 |
.gradio-container {
|
| 125 |
+
font-family: Arial, sans-serif;
|
| 126 |
}
|
| 127 |
|
| 128 |
h1, h2 {
|
|
|
|
| 131 |
}
|
| 132 |
|
| 133 |
textarea, input {
|
| 134 |
+
border-radius: 10px !important;
|
| 135 |
}
|
| 136 |
|
| 137 |
button {
|
| 138 |
+
border-radius: 10px !important;
|
| 139 |
+
transition: 0.3s;
|
| 140 |
}
|
| 141 |
|
| 142 |
button:hover {
|
|
|
|
| 144 |
}
|
| 145 |
"""
|
| 146 |
|
| 147 |
+
with gr.Blocks(css=custom_css) as demo:
|
| 148 |
|
| 149 |
gr.Markdown("# π€ AI Ticket Intelligence System")
|
| 150 |
+
gr.Markdown("### Smart β’ Fast β’ Stable π")
|
| 151 |
|
| 152 |
# -------------------------
|
| 153 |
# π€ AGENT
|
|
|
|
| 213 |
""")
|
| 214 |
|
| 215 |
# =========================
|
| 216 |
+
# π RUN (FINAL FIX)
|
| 217 |
# =========================
|
| 218 |
if __name__ == "__main__":
|
| 219 |
+
demo.launch(server_name="0.0.0.0", share=True)
|