akhaliq HF staff commited on
Commit
a2c2acd
1 Parent(s): d14e17c

add replicate back

Browse files
Files changed (2) hide show
  1. app.py +4 -4
  2. app_replicate.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
 
3
- #from app_replicate import demo as demo_replicate
4
  from app_huggingface import demo as demo_huggingface
5
  from app_playai import demo as demo_playai
6
  from app_allenai import demo as demo_allenai
@@ -24,12 +24,12 @@ from app_xai import demo as demo_grok
24
  from app_showui import demo as demo_showui
25
 
26
  with gr.Blocks(fill_height=True) as demo:
27
- # with gr.Tab("Replicate"):
28
- # demo_replicate.render()
29
- # gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
30
  with gr.Tab("Qwen"):
31
  demo_qwen.render()
32
  gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
 
 
 
33
  with gr.Tab("Sailor"):
34
  demo_sailor.render()
35
  gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
 
1
  import gradio as gr
2
 
3
+ from app_replicate import demo as demo_replicate
4
  from app_huggingface import demo as demo_huggingface
5
  from app_playai import demo as demo_playai
6
  from app_allenai import demo as demo_allenai
 
24
  from app_showui import demo as demo_showui
25
 
26
  with gr.Blocks(fill_height=True) as demo:
 
 
 
27
  with gr.Tab("Qwen"):
28
  demo_qwen.render()
29
  gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
30
+ with gr.Tab("Replicate"):
31
+ demo_replicate.render()
32
+ gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
33
  with gr.Tab("Sailor"):
34
  demo_sailor.render()
35
  gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
app_replicate.py CHANGED
@@ -8,9 +8,9 @@ demo = get_app(
8
  "black-forest-labs/flux-canny-pro",
9
  "black-forest-labs/flux-fill-pro",
10
  "black-forest-labs/flux-depth-dev",
11
- "zsxkib/hunyuan-video:349dbe0feb6e8e4a6fab3c6a4dd642413e6c10735353de8b40f12abeee203617",
12
  ],
13
- default_model="zsxkib/hunyuan-video:349dbe0feb6e8e4a6fab3c6a4dd642413e6c10735353de8b40f12abeee203617",
14
  src=replicate_gradio.registry,
15
  )
16
 
 
8
  "black-forest-labs/flux-canny-pro",
9
  "black-forest-labs/flux-fill-pro",
10
  "black-forest-labs/flux-depth-dev",
11
+ "tencent/hunyuan-video:140176772be3b423d14fdaf5403e6d4e38b85646ccad0c3fd2ed07c211f0cad1",
12
  ],
13
+ default_model="tencent/hunyuan-video:140176772be3b423d14fdaf5403e6d4e38b85646ccad0c3fd2ed07c211f0cad1",
14
  src=replicate_gradio.registry,
15
  )
16