Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /gradio-app_gradio /demo /chatinterface_streaming_echo /run.py
| import time | |
| import gradio as gr | |
| def slow_echo(message, history): | |
| for i in range(len(message)): | |
| time.sleep(0.05) | |
| yield "You typed: " + message[: i + 1] | |
| demo = gr.ChatInterface( | |
| slow_echo, | |
| flagging_mode="manual", | |
| flagging_options=["Like", "Spam", "Inappropriate", "Other"], | |
| save_history=True, | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |
Xet Storage Details
- Size:
- 377 Bytes
- Xet hash:
- f7a648131d5355e6b126c1cb14dcbac2ad58b79a5e1758c5d63795439bd69d0c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.