spanofzero commited on
Commit
2a6aa8e
·
verified ·
1 Parent(s): 0d1bdca

cutoff repair

Browse files
Files changed (1) hide show
  1. app.py +16 -0
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()