Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ def mbti(x):
|
|
43 |
return r
|
44 |
|
45 |
def chat(x):
|
|
|
46 |
result = gradio_client.predict(
|
47 |
x.replace('friend','Human').replace('you','Assistant'),
|
48 |
# str representing input in 'User input' Textbox component
|
|
|
43 |
return r
|
44 |
|
45 |
def chat(x):
|
46 |
+
x = f"{x}"
|
47 |
result = gradio_client.predict(
|
48 |
x.replace('friend','Human').replace('you','Assistant'),
|
49 |
# str representing input in 'User input' Textbox component
|