Spaces:
Running
on
Zero
Running
on
Zero
sergiopaniego
commited on
Commit
•
d9d07ef
1
Parent(s):
8d73cc6
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import spaces
|
|
3 |
import torch
|
4 |
|
5 |
from PIL import Image
|
6 |
-
import requests
|
7 |
from transformers import pipeline
|
8 |
import matplotlib.pyplot as plt
|
9 |
import io
|
@@ -65,6 +64,6 @@ with gr.Blocks() as demo:
|
|
65 |
outputs=[
|
66 |
gr.Image(label="Output prediction", type="pil")
|
67 |
]
|
68 |
-
)
|
69 |
|
70 |
demo.launch(show_error=True)
|
|
|
3 |
import torch
|
4 |
|
5 |
from PIL import Image
|
|
|
6 |
from transformers import pipeline
|
7 |
import matplotlib.pyplot as plt
|
8 |
import io
|
|
|
64 |
outputs=[
|
65 |
gr.Image(label="Output prediction", type="pil")
|
66 |
]
|
67 |
+
)
|
68 |
|
69 |
demo.launch(show_error=True)
|