winglian commited on
Commit
7cf60a4
·
1 Parent(s): ec67df2

Update tabbed.py

Browse files
Files changed (1) hide show
  1. tabbed.py +3 -4
tabbed.py CHANGED
@@ -128,10 +128,6 @@ with gr.Blocks() as demo:
128
  - Contribute at [https://github.com/OpenAccess-AI-Collective/ggml-webui](https://github.com/OpenAccess-AI-Collective/ggml-webui)
129
  - Many thanks to [TheBloke](https://huggingface.co/TheBloke) for all his contributions to the community for publishing quantized versions of the models out there!
130
  """)
131
- with gr.Tab("Instruct"):
132
- gr.Markdown("# GGML Spaces Instruct Demo")
133
- instruct_interface.render()
134
-
135
  with gr.Tab("Chatbot"):
136
  gr.Markdown("# GGML Spaces Chatbot Demo")
137
  chatbot = gr.Chatbot()
@@ -177,5 +173,8 @@ with gr.Blocks() as demo:
177
  # fn=chat, inputs=[chat_history_state, system_msg, max_tokens, temperature, top_p, top_k, repeat_penalty], outputs=[chatbot, chat_history_state], queue=True
178
  # )
179
  stop.click(fn=None, inputs=None, outputs=None, cancels=[submit_click_event, roleplay_click_event], queue=False)
 
 
 
180
 
181
  demo.queue(**config["queue"]).launch(debug=True, server_name="0.0.0.0", server_port=7860)
 
128
  - Contribute at [https://github.com/OpenAccess-AI-Collective/ggml-webui](https://github.com/OpenAccess-AI-Collective/ggml-webui)
129
  - Many thanks to [TheBloke](https://huggingface.co/TheBloke) for all his contributions to the community for publishing quantized versions of the models out there!
130
  """)
 
 
 
 
131
  with gr.Tab("Chatbot"):
132
  gr.Markdown("# GGML Spaces Chatbot Demo")
133
  chatbot = gr.Chatbot()
 
173
  # fn=chat, inputs=[chat_history_state, system_msg, max_tokens, temperature, top_p, top_k, repeat_penalty], outputs=[chatbot, chat_history_state], queue=True
174
  # )
175
  stop.click(fn=None, inputs=None, outputs=None, cancels=[submit_click_event, roleplay_click_event], queue=False)
176
+ with gr.Tab("Instruct"):
177
+ gr.Markdown("# GGML Spaces Instruct Demo")
178
+ instruct_interface.render()
179
 
180
  demo.queue(**config["queue"]).launch(debug=True, server_name="0.0.0.0", server_port=7860)