Spaces:
Runtime error
Runtime error
Add application file
Browse files
app.py
CHANGED
|
@@ -239,7 +239,7 @@ with gr.Blocks() as app:
|
|
| 239 |
gr.Radio(choices=[1, 2, 3, 4, 5], label=f"Grammar Score", visible=False),
|
| 240 |
gr.Radio(choices=[1, 2, 3, 4, 5], label=f"Coherence Score", visible=False),
|
| 241 |
gr.Radio(choices=[1, 2, 3, 4, 5], label=f"Hallucination Score", visible=False)
|
| 242 |
-
|
| 243 |
])
|
| 244 |
gr.Markdown("---")
|
| 245 |
|
|
@@ -249,7 +249,7 @@ with gr.Blocks() as app:
|
|
| 249 |
submit_btn = gr.Button("Submit", variant="primary")
|
| 250 |
|
| 251 |
app.css = """
|
| 252 |
-
.sidebar { background: #f8f9fa; padding:
|
| 253 |
.nav-buttons { background: #f0f0f0; padding: 20px; border-radius: 10px; }
|
| 254 |
#login_row { padding: 20px; }
|
| 255 |
"""
|
|
|
|
| 239 |
gr.Radio(choices=[1, 2, 3, 4, 5], label=f"Grammar Score", visible=False),
|
| 240 |
gr.Radio(choices=[1, 2, 3, 4, 5], label=f"Coherence Score", visible=False),
|
| 241 |
gr.Radio(choices=[1, 2, 3, 4, 5], label=f"Hallucination Score", visible=False)
|
| 242 |
+
|
| 243 |
])
|
| 244 |
gr.Markdown("---")
|
| 245 |
|
|
|
|
| 249 |
submit_btn = gr.Button("Submit", variant="primary")
|
| 250 |
|
| 251 |
app.css = """
|
| 252 |
+
.sidebar { background: #f8f9fa; padding: 10px; border-right: 1px solid #dee2e6; height: 100vh; }
|
| 253 |
.nav-buttons { background: #f0f0f0; padding: 20px; border-radius: 10px; }
|
| 254 |
#login_row { padding: 20px; }
|
| 255 |
"""
|