matjesg commited on
Commit
5c81977
1 Parent(s): ca032a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -3,7 +3,6 @@ import gradio as gr
3
  import torch
4
  from huggingface_hub import hf_hub_download
5
 
6
-
7
  def inference(repo_id, model_name, img):
8
  model_path = hf_hub_download(repo_id=repo_id, filename=model_name)
9
  model = torch.jit.load(model_path, map_location='cpu')
 
3
  import torch
4
  from huggingface_hub import hf_hub_download
5
 
 
6
  def inference(repo_id, model_name, img):
7
  model_path = hf_hub_download(repo_id=repo_id, filename=model_name)
8
  model = torch.jit.load(model_path, map_location='cpu')