SpiketheCowboy commited on
Commit
3052a7f
·
1 Parent(s): 3b3ed98

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.split("### Response:")[1].strip()
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(