tree3po commited on
Commit
42d75d1
1 Parent(s): e62f26e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -1,15 +1,4 @@
1
  import gradio as gr
2
 
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(
12
- fn=run_llm,
13
- )
14
-
15
- app.launch()
 
1
  import gradio as gr
2
 
3
  this = gr.load("models/HuggingFaceTB/SmolLM2-1.7B-Instruct")
4
+ this.queue().launch()