Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
78c6877
1
Parent(s):
3983f58
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,6 @@ import torch.nn.functional as F
|
|
| 3 |
import numpy as np
|
| 4 |
from PIL import Image
|
| 5 |
import os
|
| 6 |
-
os.system('pip install gradio==2.3.0a0')
|
| 7 |
os.system('pip freeze')
|
| 8 |
import network
|
| 9 |
import morphology
|
|
@@ -505,6 +504,5 @@ gr.Interface(
|
|
| 505 |
examples=[
|
| 506 |
['city.jpg'],
|
| 507 |
['tower.jpg'],
|
| 508 |
-
]
|
| 509 |
-
enable_queue=True
|
| 510 |
-
).launch(debug=True)
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
from PIL import Image
|
| 5 |
import os
|
|
|
|
| 6 |
os.system('pip freeze')
|
| 7 |
import network
|
| 8 |
import morphology
|
|
|
|
| 504 |
examples=[
|
| 505 |
['city.jpg'],
|
| 506 |
['tower.jpg'],
|
| 507 |
+
]
|
| 508 |
+
).launch(enable_queue=True,cache_examples=True)
|
|
|