File size: 322 Bytes
3925246
 
 
 
 
 
 
 
d90ff41
8c16c0a
3925246
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr
import xai_gradio

gr.load(
    name='grok-beta',
    src=xai_gradio.registry,
    title='X.AI-Gradio Integration',
    description="Chat with grok-beta model.",
    examples=["Explain quantum gravity to a 5-year old.", "How many R are there in the word Strawberry?"], 
    accept_token=True
).launch()