Spaces:
Runtime error
Runtime error
phlippseitz
commited on
Commit
•
8fb0ef3
1
Parent(s):
bd3584b
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from PIL import Image
|
|
6 |
import gradio as gr
|
7 |
import torch
|
8 |
|
9 |
-
torch.hub.download_url_to_file('https://i.imgur.com/
|
10 |
|
11 |
def inference(img, lang):
|
12 |
ocr = PaddleOCR(lang=lang,use_gpu=False)
|
|
|
6 |
import gradio as gr
|
7 |
import torch
|
8 |
|
9 |
+
torch.hub.download_url_to_file('https://i.imgur.com/dEcnZKX.png', 'muhammad_ali_wikipedia.png')
|
10 |
|
11 |
def inference(img, lang):
|
12 |
ocr = PaddleOCR(lang=lang,use_gpu=False)
|