Spaces:
Running
on
Zero
Running
on
Zero
File size: 463 Bytes
e8fb5c0 0a632f8 dc944d5 e8fb5c0 0a632f8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import os
import anthropic_gradio
from utils import get_app
demo = get_app(
models=[
"claude-3-5-sonnet-20241022",
"claude-3-5-haiku-20241022",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
"claude-3-haiku-20240307",
],
default_model="claude-3-5-sonnet-20241022",
src=anthropic_gradio.registry,
accept_token=not os.getenv("ANTHROPIC_API_KEY"),
)
if __name__ == "__main__":
demo.launch()
|