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