Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
e67f683
1
Parent(s):
e2feaed
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
import torch
|
8 |
ocr = PaddleOCR(use_angle_cls=True, lang='en',use_gpu=False)
|
9 |
|
10 |
-
torch.hub.download_url_to_file('https://i.imgur.com/
|
11 |
|
12 |
def inference(img):
|
13 |
img_path = img.name
|
|
|
7 |
import torch
|
8 |
ocr = PaddleOCR(use_angle_cls=True, lang='en',use_gpu=False)
|
9 |
|
10 |
+
torch.hub.download_url_to_file('https://i.imgur.com/aqMBT0i.jpg', 'example.jpg')
|
11 |
|
12 |
def inference(img):
|
13 |
img_path = img.name
|