brunorosilva commited on
Commit
d612317
β€’
1 Parent(s): 5a5ec26

deploy: hf

Browse files
Files changed (3) hide show
  1. README.md +6 -0
  2. app.py +1 -1
  3. main.py +1 -1
README.md CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  # Image-to-Art Search πŸ”
2
 
3
  "<b>Find real artwork that looks like your images</b>"
 
1
+ ---
2
+ title: img2art-search
3
+ app_file: app.py
4
+ sdk: gradio
5
+ sdk_version: 4.37.2
6
+ ---
7
  # Image-to-Art Search πŸ”
8
 
9
  "<b>Find real artwork that looks like your images</b>"
app.py CHANGED
@@ -7,4 +7,4 @@ interface = gr.Interface(
7
  outputs=gr.Gallery(label="Most similar images", height=256 * 3),
8
  live=True,
9
  )
10
- interface.launch()
 
7
  outputs=gr.Gallery(label="Most similar images", height=256 * 3),
8
  live=True,
9
  )
10
+ interface.launch(share=True)
main.py CHANGED
@@ -11,7 +11,7 @@ def make_interface():
11
  outputs=gr.Gallery(label="Most similar images", height=256 * 3),
12
  live=True,
13
  )
14
- interface.launch()
15
 
16
  def train(epochs, batch_size):
17
  fine_tune_vit(epochs, batch_size)
 
11
  outputs=gr.Gallery(label="Most similar images", height=256 * 3),
12
  live=True,
13
  )
14
+ interface.launch(share=True)
15
 
16
  def train(epochs, batch_size):
17
  fine_tune_vit(epochs, batch_size)