vapit commited on
Commit
da250d1
·
1 Parent(s): 32e94d8

remove share=True as we don't need it and add `import os`

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,7 @@
1
  ### 1. Imports and class names setup ###
2
  from model import create_vitB16_model
3
  import torch
 
4
  from typing import Tuple, Dict
5
  from timeit import default_timer as timer
6
  import gradio as gr
@@ -62,5 +63,4 @@ demo = gr.Interface(fn=predict,
62
  article=article)
63
 
64
  # Launch the demo!
65
- demo.launch(debug=False, # print errors locally?
66
- share=True) # generate a publically shareable URL
 
1
  ### 1. Imports and class names setup ###
2
  from model import create_vitB16_model
3
  import torch
4
+ import os
5
  from typing import Tuple, Dict
6
  from timeit import default_timer as timer
7
  import gradio as gr
 
63
  article=article)
64
 
65
  # Launch the demo!
66
+ demo.launch(debug=False) # print errors locally?