Eminda
commited on
Commit
·
0afbab8
1
Parent(s):
7a09717
change model
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
# Use a pipeline as a high-level helper
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
pipe = pipeline("text-generation", model="
|
6 |
|
7 |
def greet(name):
|
8 |
return pipe('who is the president of USA')
|
|
|
2 |
# Use a pipeline as a high-level helper
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
pipe = pipeline("text-generation", model="TheBloke/Selfee-7B-SuperHOT-8K-fp1", trust_remote_code=True)
|
6 |
|
7 |
def greet(name):
|
8 |
return pipe('who is the president of USA')
|