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

Update chatbot.py

Browse files
Files changed (1) hide show
  1. chatbot.py +3 -2
chatbot.py CHANGED
@@ -132,9 +132,10 @@ def has_input_function_calls(code):
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():
 
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("## Important Information)
136
  gr.Markdown("**We use `m-a-p/OpenCodeInterpreter-DS-6.7B` model in this demo.**")
137
+ gr.Markdown("**This demo operates under strict online safety protocols and faces computational limits, which restrict its ability to demonstrate the model's full capabilities and may result in longer wait times. For an unrestricted experience, consider deploying the model on your own infrastructure. Deployment details are available at our GitHub page: [https://github.com/OpenCodeInterpreter/OpenCodeInterpreter](https://github.com/OpenCodeInterpreter/OpenCodeInterpreter).")
138
+ 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! By using this demo, you acknowledge that you have read this disclaimer, understand its terms, and agree to be bound by them.**")
139
  chatbot = gr.Chatbot(label="OpenCodeInterpreter", avatar_images=["assets/user.pic.jpg", "assets/assistant.pic.jpg"], show_copy_button=True)
140
  with gr.Group():
141
  with gr.Row():