Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 304 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 |
import os
import xai_gradio
from utils import get_app
demo = get_app(
models=[
"grok-beta",
"grok-vision-beta",
],
default_model="grok-vision-beta",
src=xai_gradio.registry,
accept_token=not os.getenv("XAI_API_KEY"),
)
if __name__ == "__main__":
demo.launch()
|