Spaces:
Runtime error
Runtime error
File size: 543 Bytes
0a632f8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import perplexity_gradio
from utils import get_app
demo = get_app(
models=[
"llama-3.1-sonar-large-128k-online",
"llama-3.1-sonar-small-128k-online",
"llama-3.1-sonar-huge-128k-online",
"llama-3.1-sonar-small-128k-chat",
"llama-3.1-sonar-large-128k-chat",
"llama-3.1-8b-instruct",
"llama-3.1-70b-instruct",
],
default_model="llama-3.1-sonar-large-128k-online",
registry=perplexity_gradio.registry,
accept_token=True,
)
if __name__ == "__main__":
demo.launch()
|