austinsilveria commited on
Commit
7a7e5d9
1 Parent(s): a5be631

switch readme config to gradio

Browse files
Files changed (2) hide show
  1. README.md +3 -3
  2. app.py +1 -1
README.md CHANGED
@@ -3,10 +3,10 @@ title: Tricksy
3
  emoji: 🐠
4
  colorFrom: purple
5
  colorTo: green
6
- sdk: streamlit
7
- sdk_version: 1.29.0
8
  app_file: app.py
9
- pinned: false
10
  license: apache-2.0
11
  ---
12
 
 
3
  emoji: 🐠
4
  colorFrom: purple
5
  colorTo: green
6
+ sdk: gradio
7
+ sdk_version: 4.8.0
8
  app_file: app.py
9
+ pinned: true
10
  license: apache-2.0
11
  ---
12
 
app.py CHANGED
@@ -115,4 +115,4 @@ with gr.Blocks(css=css) as iface:
115
  4. Applying an advanced index to a pinned tensor in PyTorch will return an unpinned copy of the indexed data, which means it needs to be recopied to pinned memory before it can be sent to the GPU. If we can override this default PyTorch behavior to allow direct CPU-GPU copying from a specified advanced index without intermediate copies, we should get a nice speedup.
116
  ''')
117
 
118
- iface.queue().launch(server_port=8501, show_api=False)
 
115
  4. Applying an advanced index to a pinned tensor in PyTorch will return an unpinned copy of the indexed data, which means it needs to be recopied to pinned memory before it can be sent to the GPU. If we can override this default PyTorch behavior to allow direct CPU-GPU copying from a specified advanced index without intermediate copies, we should get a nice speedup.
116
  ''')
117
 
118
+ iface.queue().launch(show_api=False)