wuxiaojun commited on
Commit
22ea9db
1 Parent(s): 11501db

init commit

Browse files
Files changed (2) hide show
  1. README.md +5 -5
  2. app.py +21 -0
README.md CHANGED
@@ -1,10 +1,10 @@
1
  ---
2
- title: Taiyi Stable Diffusion XL 3.5B
3
- emoji: 🏢
4
- colorFrom: indigo
5
- colorTo: purple
6
  sdk: gradio
7
- sdk_version: 4.15.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
 
1
  ---
2
+ title: Test Local Gradio
3
+ emoji: 🏃
4
+ colorFrom: green
5
+ colorTo: yellow
6
  sdk: gradio
7
+ sdk_version: 3.27.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
app.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ html_text = """<iframe src="https://ccnl.fengshenbang-lm.com/demo/888888/" title="outer_frame" width="100%" height="1000px" frameborder="0"></iframe>"""
7
+
8
+ def web(html_text):
9
+ return gr.HTML(html_text)
10
+
11
+ # iface = gr.Interface(fn=greet, inputs="text", outputs="text")
12
+ # iface.launch()
13
+
14
+ with gr.Blocks() as demo:
15
+ # with gr.Tab("Lion"):
16
+ gr.HTML(html_text)
17
+
18
+
19
+
20
+ # demo = gr.TabbedInterface([taiyi_demo], ["Text-to-speech"])
21
+ demo.launch(show_api=False)