Create app.py
Browse files
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()
|