Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,8 +51,6 @@ def respond(
|
|
| 51 |
Yields:
|
| 52 |
str: The generated response up to the current token.
|
| 53 |
"""
|
| 54 |
-
# Load the tokenizer
|
| 55 |
-
tokenizer = AutoTokenizer.from_pretrained(tokenizer_name)
|
| 56 |
|
| 57 |
# Construct the prompt
|
| 58 |
prompt = system_message
|
|
|
|
| 51 |
Yields:
|
| 52 |
str: The generated response up to the current token.
|
| 53 |
"""
|
|
|
|
|
|
|
| 54 |
|
| 55 |
# Construct the prompt
|
| 56 |
prompt = system_message
|