akhaliq HF staff Yuanshi commited on
Commit
f5d76bb
1 Parent(s): fe7f473

OminiControl (#26)

Browse files

- add OminiControl (cffe5cd1b7c6c34aed14d5127dd353d52e994738)


Co-authored-by: Yuanshi <[email protected]>

Files changed (2) hide show
  1. app.py +4 -0
  2. app_omini.py +10 -0
app.py CHANGED
@@ -25,6 +25,7 @@ from app_sambanova import demo as demo_sambanova
25
  from app_together import demo as demo_together
26
  from app_xai import demo as demo_grok
27
  from app_showui import demo as demo_showui
 
28
 
29
  with gr.Blocks(fill_height=True) as demo:
30
  with gr.Tab("Hyperbolic (New Meta Llama 3.3 70B)"):
@@ -118,6 +119,9 @@ with gr.Blocks(fill_height=True) as demo:
118
  with gr.Tab("NVIDIA"):
119
  demo_nvidia.render()
120
  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>.")
 
 
 
121
 
122
 
123
  if __name__ == "__main__":
 
25
  from app_together import demo as demo_together
26
  from app_xai import demo as demo_grok
27
  from app_showui import demo as demo_showui
28
+ from app_omini import demo as demo_omini
29
 
30
  with gr.Blocks(fill_height=True) as demo:
31
  with gr.Tab("Hyperbolic (New Meta Llama 3.3 70B)"):
 
119
  with gr.Tab("NVIDIA"):
120
  demo_nvidia.render()
121
  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>.")
122
+ with gr.Tab("OminiControl"):
123
+ demo_omini.render()
124
+ 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>.")
125
 
126
 
127
  if __name__ == "__main__":
app_omini.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ # Load the Gradio space
4
+ demo = gr.load(name="Yuanshi/OminiControl", src="spaces")
5
+
6
+
7
+ # Disable API access for all functions
8
+ if hasattr(demo, "fns"):
9
+ for fn in demo.fns.values():
10
+ fn.api_name = False