Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import gemini_gradio
|
3 |
import openai_gradio
|
|
|
|
|
4 |
|
5 |
with gr.Blocks() as demo:
|
6 |
with gr.Tab("Gemini"):
|
@@ -15,6 +17,12 @@ with gr.Blocks() as demo:
|
|
15 |
src=openai_gradio.registry,
|
16 |
accept_token=True
|
17 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
demo.launch()
|
20 |
|
|
|
1 |
import gradio as gr
|
2 |
import gemini_gradio
|
3 |
import openai_gradio
|
4 |
+
import anthropic_gradio
|
5 |
+
|
6 |
|
7 |
with gr.Blocks() as demo:
|
8 |
with gr.Tab("Gemini"):
|
|
|
17 |
src=openai_gradio.registry,
|
18 |
accept_token=True
|
19 |
)
|
20 |
+
with gr.Tab("Claude"):
|
21 |
+
gr.load(
|
22 |
+
name='claude-3-opus-20240229',
|
23 |
+
src=anthropic_gradio.registry,
|
24 |
+
accept_token=True
|
25 |
+
)
|
26 |
|
27 |
demo.launch()
|
28 |
|