fschwartzer commited on
Commit
1c68d40
1 Parent(s): ed9120b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,3 +1,7 @@
1
  import gradio as gr
 
2
 
3
- gr.Interface.load("models/meta-llama/Llama-2-13b-chat-hf").launch()
 
 
 
 
1
  import gradio as gr
2
+ from transformers import pipeline
3
 
4
+ pipe = pipeline(model="meta-llama/Llama-2-13b-chat-hf")
5
+
6
+ demo = gr.Interface.from_pipeline(pipe)
7
+ demo.launch()