akhaliq HF staff commited on
Commit
32656c9
1 Parent(s): 64cfde8

crewai working version

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. app_crew.py +2 -2
app.py CHANGED
@@ -26,6 +26,7 @@ from app_xai import demo as demo_grok
26
  from app_openai_voice import demo as demo_openai_voice
27
  from app_qwen import demo as demo_qwen
28
  from app_deepseek import demo as demo_deepseek
 
29
  from utils import get_app
30
 
31
  # Create mapping of providers to their demos
@@ -35,6 +36,7 @@ PROVIDERS = {
35
  "Gemini": demo_gemini,
36
  "OpenAI Voice": demo_openai_voice,
37
  "Gemini Voice": demo_gemini_voice,
 
38
  "LumaAI": demo_lumaai,
39
  "ChatGPT": demo_openai,
40
  "Grok": demo_grok,
 
26
  from app_openai_voice import demo as demo_openai_voice
27
  from app_qwen import demo as demo_qwen
28
  from app_deepseek import demo as demo_deepseek
29
+ from app_crew import demo as demo_crew
30
  from utils import get_app
31
 
32
  # Create mapping of providers to their demos
 
36
  "Gemini": demo_gemini,
37
  "OpenAI Voice": demo_openai_voice,
38
  "Gemini Voice": demo_gemini_voice,
39
+ "CrewAI": demo_crew,
40
  "LumaAI": demo_lumaai,
41
  "ChatGPT": demo_openai,
42
  "Grok": demo_grok,
app_crew.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  import ai_gradio
3
 
4
- gr.load(
5
  name='crewai:gpt-4-turbo',
6
  crew_type='article', # or 'support'
7
  src=ai_gradio.registry,
8
- ).launch()
 
1
  import gradio as gr
2
  import ai_gradio
3
 
4
+ demo = gr.load(
5
  name='crewai:gpt-4-turbo',
6
  crew_type='article', # or 'support'
7
  src=ai_gradio.registry,
8
+ )