Spaces:
Runtime error
Runtime error
Commit
·
3052a7f
1
Parent(s):
3b3ed98
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def respond(
|
|
105 |
max_new_tokens=max_new_tokens,
|
106 |
)
|
107 |
response = tokenizer.decode(generation_output[0][:-2]).split("### Assistant:\n", 1)[1]
|
108 |
-
return response
|
109 |
|
110 |
|
111 |
g = gr.Interface(
|
|
|
105 |
max_new_tokens=max_new_tokens,
|
106 |
)
|
107 |
response = tokenizer.decode(generation_output[0][:-2]).split("### Assistant:\n", 1)[1]
|
108 |
+
return response
|
109 |
|
110 |
|
111 |
g = gr.Interface(
|