harp-dev commited on
Commit
105e04d
·
verified ·
1 Parent(s): 5074382

Fix the launch keywords and the taxonomy import

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -5,7 +5,8 @@ from tempfile import TemporaryDirectory
5
 
6
  import gradio as gr
7
  import spaces
8
- from pyharp import ModelCard, build_endpoint, Subcategory
 
9
 
10
  from runtime import EXAMPLE, render
11
 
@@ -49,6 +50,6 @@ if __name__ == "__main__":
49
  )
50
 
51
 
52
- demo.queue(default_concurrency_limit=1, max_size=4).launch(pwa=True, show_error=True, share=True,
53
- show_error=True, pwa=True, max_file_size="2mb"
54
  )
 
5
 
6
  import gradio as gr
7
  import spaces
8
+ from pyharp import ModelCard, build_endpoint
9
+ from pyharp.tags import Subcategory
10
 
11
  from runtime import EXAMPLE, render
12
 
 
50
  )
51
 
52
 
53
+ demo.queue(default_concurrency_limit=1, max_size=4).launch(
54
+ share=True, show_error=True, pwa=True, max_file_size="2mb"
55
  )