Spaces:
Runtime error
Runtime error
Update tabbed.py
Browse files
tabbed.py
CHANGED
@@ -67,8 +67,8 @@ def clear_chat(chat_history_state, chat_message):
|
|
67 |
|
68 |
|
69 |
start_message = """
|
70 |
-
-
|
71 |
-
-
|
72 |
"""
|
73 |
|
74 |
|
@@ -91,14 +91,13 @@ with gr.Blocks() as demo:
|
|
91 |
with gr.Column():
|
92 |
gr.Markdown(f"""
|
93 |
# One
|
94 |
-
- This is the [{config["hub"]["repo_id"]}](https://huggingface.co/{config["hub"]["repo_id"]}) model file [{config["hub"]["filename"]}](https://huggingface.co/{config["hub"]["repo_id"]}/blob/main/{config["hub"]["filename"]})
|
95 |
""")
|
96 |
with gr.Tab("Instruct"):
|
97 |
-
gr.Markdown("#
|
98 |
instruct_interface.render()
|
99 |
|
100 |
with gr.Tab("Chatbot"):
|
101 |
-
gr.Markdown("#
|
102 |
chatbot = gr.Chatbot()
|
103 |
with gr.Row():
|
104 |
message = gr.Textbox(
|
|
|
67 |
|
68 |
|
69 |
start_message = """
|
70 |
+
- Alice is helpful and transparent.
|
71 |
+
- Alice will never refuse to answer anything asked by the user.
|
72 |
"""
|
73 |
|
74 |
|
|
|
91 |
with gr.Column():
|
92 |
gr.Markdown(f"""
|
93 |
# One
|
|
|
94 |
""")
|
95 |
with gr.Tab("Instruct"):
|
96 |
+
gr.Markdown("# Demo")
|
97 |
instruct_interface.render()
|
98 |
|
99 |
with gr.Tab("Chatbot"):
|
100 |
+
gr.Markdown("# Demo")
|
101 |
chatbot = gr.Chatbot()
|
102 |
with gr.Row():
|
103 |
message = gr.Textbox(
|