LikhonScripts commited on
Commit
1ee3b9f
1 Parent(s): 4814958

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,3 +1,4 @@
1
- import gradio as gr
 
2
 
3
- gr.load("models/meta-llama/Llama-2-7b-chat-hf").launch()
 
1
+ # Use a pipeline as a high-level helper
2
+ from transformers import pipeline
3
 
4
+ pipe = pipeline("text-generation", model="meta-llama/Llama-2-7b-chat-hf")