Spaces:
Paused
Paused
Lin Chen
commited on
Commit
·
f1beaad
1
Parent(s):
29e9fb6
GPT-2
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ if "messages" not in st.session_state:
|
|
84 |
st.session_state.messages = []
|
85 |
|
86 |
def get_bot_response(prompt):
|
87 |
-
pipe = pipeline("text-generation", model="
|
88 |
|
89 |
output = pipe(prompt, max_length=100)
|
90 |
|
|
|
84 |
st.session_state.messages = []
|
85 |
|
86 |
def get_bot_response(prompt):
|
87 |
+
pipe = pipeline("text-generation", model="gpt2")
|
88 |
|
89 |
output = pipe(prompt, max_length=100)
|
90 |
|