n0v33n
commited on
Commit
·
70648b0
1
Parent(s):
1b6c2fc
Added new Schema
Browse files
app.py
CHANGED
@@ -92,57 +92,6 @@ def guide_user(prompt):
|
|
92 |
result = model.generate_content(full_prompt)
|
93 |
return result.text.strip()
|
94 |
|
95 |
-
# # === Custom CSS for Gradio UI ===
|
96 |
-
# css = """
|
97 |
-
# body {
|
98 |
-
# background-color: #e6ecf3;
|
99 |
-
# font-family: 'Segoe UI', sans-serif;
|
100 |
-
# }
|
101 |
-
# .gradio-container {
|
102 |
-
# width: 100% !important;
|
103 |
-
# max-width: 100% !important;
|
104 |
-
# padding: 40px 10%;
|
105 |
-
# background-color: #ffffff;
|
106 |
-
# }
|
107 |
-
# .gr-block {
|
108 |
-
# width: 100%;
|
109 |
-
# }
|
110 |
-
# h1 {
|
111 |
-
# color: #1967d2;
|
112 |
-
# text-align: center;
|
113 |
-
# font-size: 2rem;
|
114 |
-
# }
|
115 |
-
# h2, p.subtitle, .subheading, .description {
|
116 |
-
# color: #333;
|
117 |
-
# text-align: center;
|
118 |
-
# margin-bottom: 20px;
|
119 |
-
# }
|
120 |
-
# input[type="text"], textarea, .output-text {
|
121 |
-
# border: 1px solid #ccc;
|
122 |
-
# border-radius: 6px;
|
123 |
-
# padding: 12px;
|
124 |
-
# width: 100%;
|
125 |
-
# box-sizing: border-box;
|
126 |
-
# }
|
127 |
-
# button {
|
128 |
-
# background-color: #1967d2;
|
129 |
-
# color: white;
|
130 |
-
# border-radius: 6px;
|
131 |
-
# padding: 12px 24px;
|
132 |
-
# font-size: 1rem;
|
133 |
-
# border: none;
|
134 |
-
# cursor: pointer;
|
135 |
-
# }
|
136 |
-
# button:hover {
|
137 |
-
# background-color: #1450a3;
|
138 |
-
# }
|
139 |
-
# .output-text {
|
140 |
-
# background-color: #f7f9fc;
|
141 |
-
# border: 1px solid #ccd6e0;
|
142 |
-
# border-radius: 6px;
|
143 |
-
# padding: 15px;
|
144 |
-
# }
|
145 |
-
# """
|
146 |
|
147 |
|
148 |
# === Launch Gradio UI ===
|
|
|
92 |
result = model.generate_content(full_prompt)
|
93 |
return result.text.strip()
|
94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
|
97 |
# === Launch Gradio UI ===
|