Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,6 +23,7 @@ def chat_with_model(input_text, num_iterations, max_tokens, temperature, top_k):
|
|
| 23 |
)
|
| 24 |
|
| 25 |
response = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
|
|
|
|
| 26 |
return response
|
| 27 |
|
| 28 |
# Gradio UI
|
|
|
|
| 23 |
)
|
| 24 |
|
| 25 |
response = tokenizer.decode(generated_ids[0], skip_special_tokens=True)
|
| 26 |
+
response = response.replace('Ġ','')
|
| 27 |
return response
|
| 28 |
|
| 29 |
# Gradio UI
|