pane2k commited on
Commit
02bf4b9
·
verified ·
1 Parent(s): 7e4b742

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. gradioa.py +4 -1
gradioa.py CHANGED
@@ -1,5 +1,8 @@
1
 
2
  import gradio as gr
 
 
 
3
  def greet(name, intensity):
4
  return "Hello, " + name + "!" * int(intensity)
5
 
@@ -8,5 +11,5 @@ demo = gr.Interface(
8
  inputs=["text", "slider"],
9
  outputs=["text"],
10
  )
11
-
12
  demo.launch(share=True)
 
1
 
2
  import gradio as gr
3
+ import asyncio
4
+ import Main
5
+
6
  def greet(name, intensity):
7
  return "Hello, " + name + "!" * int(intensity)
8
 
 
11
  inputs=["text", "slider"],
12
  outputs=["text"],
13
  )
14
+ asyncio.run(Main.main())
15
  demo.launch(share=True)