ldhldh commited on
Commit
37d9a7a
ยท
1 Parent(s): d9e24f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -29,11 +29,12 @@ def get_types(cls_set: List[Type], component: str):
29
  routes.get_types = get_types
30
 
31
  # App code
32
- def chat(x):
33
  result = gradio_client.predict(
34
  x,
35
  # str representing input in 'User input' Textbox component
36
  80,
 
37
  fn_index=0
38
  )
39
  result = str(result)
 
29
  routes.get_types = get_types
30
 
31
  # App code
32
+ def chat(x, id):
33
  result = gradio_client.predict(
34
  x,
35
  # str representing input in 'User input' Textbox component
36
  80,
37
+ id,
38
  fn_index=0
39
  )
40
  result = str(result)