pane2k commited on
Commit
beb38ea
·
verified ·
1 Parent(s): 2f6e1fd

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. aa.py +2 -0
  2. gradioa.py +3 -0
aa.py ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import os
2
+ os.system('playwright install')
gradioa.py CHANGED
@@ -2,6 +2,8 @@
2
  import gradio as gr
3
  import asyncio
4
  import Main
 
 
5
 
6
  def greet(name, intensity):
7
  return "Hello, " + name + "!" * int(intensity)
@@ -12,6 +14,7 @@ demo = gr.Interface(
12
  outputs=["text"],
13
  live=True
14
  )
 
15
  asyncio.run(Main.main())
16
  demo.launch(share=True)
17
 
 
2
  import gradio as gr
3
  import asyncio
4
  import Main
5
+ import os
6
+ os.system('playwright install')
7
 
8
  def greet(name, intensity):
9
  return "Hello, " + name + "!" * int(intensity)
 
14
  outputs=["text"],
15
  live=True
16
  )
17
+
18
  asyncio.run(Main.main())
19
  demo.launch(share=True)
20