Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import torch
|
|
| 4 |
from transformers import pipeline
|
| 5 |
import re, time, io, uuid, os
|
| 6 |
from PIL import Image
|
|
|
|
| 7 |
import matplotlib.pyplot as plt
|
| 8 |
matplotlib.use('Agg')
|
| 9 |
from concurrent.futures import ThreadPoolExecutor
|
|
@@ -89,3 +90,4 @@ if __name__ == "__main__":
|
|
| 89 |
demo.launch(share=False, server_port=7860)
|
| 90 |
|
| 91 |
|
|
|
|
|
|
| 4 |
from transformers import pipeline
|
| 5 |
import re, time, io, uuid, os
|
| 6 |
from PIL import Image
|
| 7 |
+
import matplotlib
|
| 8 |
import matplotlib.pyplot as plt
|
| 9 |
matplotlib.use('Agg')
|
| 10 |
from concurrent.futures import ThreadPoolExecutor
|
|
|
|
| 90 |
demo.launch(share=False, server_port=7860)
|
| 91 |
|
| 92 |
|
| 93 |
+
|