akhaliq HF staff commited on
Commit
3925246
·
verified ·
1 Parent(s): 7c95d76

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import xai_gradio
3
+
4
+ gr.load(
5
+ name='grok-beta',
6
+ src=xai_gradio.registry,
7
+ title='X.AI-Gradio Integration',
8
+ description="Chat with grok-beta model.",
9
+ examples=["Explain quantum gravity to a 5-year old.", "How many R are there in the word Strawberry?"]
10
+ ).launch()