Spaces:
Runtime error
Runtime error
cutoff repair
Browse files
app.py
CHANGED
|
@@ -38,3 +38,19 @@ footer {display: none !important}
|
|
| 38 |
"""
|
| 39 |
|
| 40 |
# 5. Build the Interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
"""
|
| 39 |
|
| 40 |
# 5. Build the Interface
|
| 41 |
+
with gr.Blocks(css=custom_css, theme=gr.themes.Soft(primary_hue="blue")) as demo:
|
| 42 |
+
gr.Markdown("# T3Sam3")
|
| 43 |
+
gr.ChatInterface(
|
| 44 |
+
fn=samaran_kernel_chat,
|
| 45 |
+
description="Samaran Kernel Intelligence Layer",
|
| 46 |
+
examples=[
|
| 47 |
+
"How does AI work?",
|
| 48 |
+
"Are black holes real?",
|
| 49 |
+
"How many Rs are in 'strawberry'?",
|
| 50 |
+
"What is the meaning of life?"
|
| 51 |
+
],
|
| 52 |
+
cache_examples=False # <--- This stops the startup crash
|
| 53 |
+
)
|
| 54 |
+
|
| 55 |
+
if __name__ == "__main__":
|
| 56 |
+
demo.launch()
|