ldhldh commited on
Commit
152d44c
·
1 Parent(s): 64b66a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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