Spaces:
Runtime error
Runtime error
disclaimer
Browse files
app.py
CHANGED
|
@@ -185,7 +185,12 @@ def import_history(history, file):
|
|
| 185 |
with gr.Blocks() as demo:
|
| 186 |
gr.Markdown("# Anthropic™️ Claude™️ Chat (Nils' Version™️)")
|
| 187 |
|
| 188 |
-
with gr.Accordion("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 189 |
api_key = gr.Textbox(label="Anthropic API Key", elem_id="api_key")
|
| 190 |
model = gr.Dropdown(label="Model", value="claude-3-opus-20240229", allow_custom_value=True, elem_id="model",
|
| 191 |
choices=["claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-2.1", "claude-2.0", "claude-instant-1.2"])
|
|
|
|
| 185 |
with gr.Blocks() as demo:
|
| 186 |
gr.Markdown("# Anthropic™️ Claude™️ Chat (Nils' Version™️)")
|
| 187 |
|
| 188 |
+
with gr.Accordion("Startup"):
|
| 189 |
+
gr.Markdown("""Use of this interface permitted under the terms and conditions of the
|
| 190 |
+
[MIT license](https://github.com/ndurner/oai_chat/blob/main/LICENSE).
|
| 191 |
+
Third party terms and conditions apply, particularly
|
| 192 |
+
those of the LLM vendor (Anthropic) and hosting provider (Hugging Face).""")
|
| 193 |
+
|
| 194 |
api_key = gr.Textbox(label="Anthropic API Key", elem_id="api_key")
|
| 195 |
model = gr.Dropdown(label="Model", value="claude-3-opus-20240229", allow_custom_value=True, elem_id="model",
|
| 196 |
choices=["claude-3-opus-20240229", "claude-3-sonnet-20240229", "claude-3-haiku-20240307", "claude-2.1", "claude-2.0", "claude-instant-1.2"])
|