Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ with gr.Blocks() as demo:
|
|
106 |
2. To balance contextual-understanding and token-saving, the meta bot's logic is modified to have access to only the last round of chat and the current user request when 'generating' an expert.
|
107 |
"""
|
108 |
)
|
109 |
-
api_key = gr.Textbox(
|
110 |
main_interface = gr.ChatInterface(fn=gradio_fn, additional_inputs=api_key)
|
111 |
|
112 |
if __name__ == "__main__":
|
|
|
106 |
2. To balance contextual-understanding and token-saving, the meta bot's logic is modified to have access to only the last round of chat and the current user request when 'generating' an expert.
|
107 |
"""
|
108 |
)
|
109 |
+
api_key = gr.Textbox(label="api_key", placeholder='Enter your chatglm API key here......')
|
110 |
main_interface = gr.ChatInterface(fn=gradio_fn, additional_inputs=api_key)
|
111 |
|
112 |
if __name__ == "__main__":
|