Luffyyy
commited on
Commit
·
db592c5
1
Parent(s):
0fad9e5
first
Browse files- app.py +7 -0
- requirements.txt +1 -0
app.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers import pipeline
|
| 2 |
+
import streamlit as st
|
| 3 |
+
|
| 4 |
+
prompt = st.chat_input()
|
| 5 |
+
|
| 6 |
+
pipe = pipeline("text-generation", model="SchizoDev/Llama3-8b-CunnyGPT-16bit", low_cpu_mem_usage=True)
|
| 7 |
+
pipe(prompt)
|
requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
transformers
|