magnetic commited on
Commit
b0fc62e
1 Parent(s): dcc625f

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +3 -2
chatbot.py CHANGED
@@ -131,10 +131,11 @@ def has_input_function_calls(code):
131
 
132
  def gradio_launch(model_path: str, MAX_TRY: int = 3):
133
  with gr.Blocks() as demo:
134
- gr.Markdown("# Online Demo of OpenCodeInterpreter Models")
 
135
  gr.Markdown("**NOTE: Please read the disclaimer section in [README.md](https://huggingface.co/spaces/m-a-p/OpenCodeInterpreter_demo/blob/main/README.md) before using this demo!**")
136
  gr.Markdown("**By using this demo, you acknowledge that you have read this disclaimer, understand its terms, and agree to be bound by them.**")
137
- chatbot = gr.Chatbot(height=600, label="OpenCodeInterpreter", avatar_images=["assets/user.pic.jpg", "assets/assistant.pic.jpg"], show_copy_button=True)
138
  with gr.Group():
139
  with gr.Row():
140
  msg = gr.Textbox(
 
131
 
132
  def gradio_launch(model_path: str, MAX_TRY: int = 3):
133
  with gr.Blocks() as demo:
134
+ gr.Markdown("# The Official Demo of OpenCodeInterpreter Models")
135
+ gr.Markdown("**We use `m-a-p/OpenCodeInterpreter-DS-6.7B` model in this demo.**")
136
  gr.Markdown("**NOTE: Please read the disclaimer section in [README.md](https://huggingface.co/spaces/m-a-p/OpenCodeInterpreter_demo/blob/main/README.md) before using this demo!**")
137
  gr.Markdown("**By using this demo, you acknowledge that you have read this disclaimer, understand its terms, and agree to be bound by them.**")
138
+ chatbot = gr.Chatbot(label="OpenCodeInterpreter", avatar_images=["assets/user.pic.jpg", "assets/assistant.pic.jpg"], show_copy_button=True)
139
  with gr.Group():
140
  with gr.Row():
141
  msg = gr.Textbox(