dpassov commited on
Commit
b69cb2f
β€’
1 Parent(s): ade8f66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -1,11 +1,4 @@
1
- # import gradio as gr
2
- # print("HELLLLLLLLLLLLLLLLLLLLLLLLLLLL")
3
- # gr.load("models/NousResearch/Yarn-Mistral-7b-128k").launch()
4
-
5
- from transformers import pipeline
6
  import gradio as gr
 
7
 
8
- pipe = pipeline("translation", model="NousResearch/Yarn-Mistral-7b-128k")
9
 
10
- demo = gr.Interface.from_pipeline(pipe)
11
- demo.launch()
 
 
 
 
 
 
1
  import gradio as gr
2
+ gr.load("models/NousResearch/Yarn-Mistral-7b-128k",src="models").launch()
3
 
 
4