tree3po commited on
Commit
e62f26e
1 Parent(s): 32aa2ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -3,7 +3,9 @@ import gradio as gr
3
  this = gr.load("models/HuggingFaceTB/SmolLM2-1.7B-Instruct")
4
  print(this)
5
  def run_llm(inp,history):
6
- yield this(inp)
 
 
7
 
8
  with gr.Blocks() as app:
9
  chat=gr.ChatInterface(
 
3
  this = gr.load("models/HuggingFaceTB/SmolLM2-1.7B-Instruct")
4
  print(this)
5
  def run_llm(inp,history):
6
+ out = this(inp)
7
+ print(out)
8
+ yield out
9
 
10
  with gr.Blocks() as app:
11
  chat=gr.ChatInterface(