Spaces:
Build error
Build error
update with gpt2
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def respond(message, history, system_message, max_tokens, temperature, top_p):
|
|
| 61 |
|
| 62 |
for chunk in client.text_generation(
|
| 63 |
prompt,
|
| 64 |
-
model="
|
| 65 |
max_new_tokens=max_tokens,
|
| 66 |
temperature=temperature,
|
| 67 |
top_p=top_p,
|
|
|
|
| 61 |
|
| 62 |
for chunk in client.text_generation(
|
| 63 |
prompt,
|
| 64 |
+
model="gpt2", # ✅ causal LM
|
| 65 |
max_new_tokens=max_tokens,
|
| 66 |
temperature=temperature,
|
| 67 |
top_p=top_p,
|