MCPcopy
hub / github.com/lm-sys/FastChat / to_gradio_chatbot

Method to_gradio_chatbot

fastchat/serve/gradio_web_server.py:102–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 self.model_name = model_name
101
102 def to_gradio_chatbot(self):
103 return self.conv.to_gradio_chatbot()
104
105 def dict(self):
106 base = self.conv.dict()

Callers 9

add_textFunction · 0.95
regenerateFunction · 0.45
bot_responseFunction · 0.45
regenerateFunction · 0.45
add_textFunction · 0.45
bot_response_multiFunction · 0.45
regenerateFunction · 0.45
add_textFunction · 0.45
bot_response_multiFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected