aliabd HF Staff commited on
Commit
8c4c3bd
·
verified ·
1 Parent(s): c84d5a8

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. messages_testcase.py +1 -1
  2. requirements.txt +2 -2
messages_testcase.py CHANGED
@@ -9,7 +9,7 @@ def slow_echo(message, history):
9
 
10
 
11
 
12
- demo = gr.ChatInterface(slow_echo, msg_format="messages")
13
 
14
  if __name__ == "__main__":
15
  demo.launch()
 
9
 
10
 
11
 
12
+ demo = gr.ChatInterface(slow_echo, type="messages")
13
 
14
  if __name__ == "__main__":
15
  demo.launch()
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- gradio-client @ git+https://github.com/gradio-app/gradio@d21d8ee0cf5f48ab2e198e41f62d7fd9252eb72b#subdirectory=client/python
2
- https://gradio-builds.s3.amazonaws.com/d21d8ee0cf5f48ab2e198e41f62d7fd9252eb72b/gradio-4.37.2-py3-none-any.whl
 
1
+ gradio-client @ git+https://github.com/gradio-app/gradio@5e361442328cf01fa92ecdadfa420054b8da2a81#subdirectory=client/python
2
+ https://gradio-builds.s3.amazonaws.com/5e361442328cf01fa92ecdadfa420054b8da2a81/gradio-4.37.2-py3-none-any.whl