prodnobody commited on
Commit
46b7aa7
·
verified ·
1 Parent(s): 764e38d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -10,5 +10,12 @@ def greet(n):
10
  print(zero.device) # <-- 'cuda:0' 🤗
11
  return f"Hello {zero + n} Tensor"
12
 
 
 
 
 
 
 
 
13
  demo = gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text())
14
- demo.launch()
 
10
  print(zero.device) # <-- 'cuda:0' 🤗
11
  return f"Hello {zero + n} Tensor"
12
 
13
+ demo_chat = gr.ChatInterface(
14
+ model_chat,
15
+ title="LiquidAI/LFM2.5-2.6B Chat Demo",
16
+ description="Chat with the LiquidAI/LFM2.5-2.6B model."
17
+ )
18
+
19
+ demo_chat.launch(share=True)
20
  demo = gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text())
21
+ demo.launch()