Spaces:
Paused
Paused
nroggendorff
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,6 @@ def predict(input_text, history):
|
|
38 |
|
39 |
model_output = removed_posts.split("<refined>")[-1].replace("</refined>", "")
|
40 |
|
41 |
-
return model_output
|
42 |
|
43 |
gr.ChatInterface(predict, theme="soft").launch()
|
|
|
38 |
|
39 |
model_output = removed_posts.split("<refined>")[-1].replace("</refined>", "")
|
40 |
|
41 |
+
return model_output.strip()
|
42 |
|
43 |
gr.ChatInterface(predict, theme="soft").launch()
|