Spaces:
Sleeping
Sleeping
ayoubkirouane
commited on
Commit
·
2ba1171
1
Parent(s):
41132db
Update app.py
Browse files
app.py
CHANGED
@@ -3,14 +3,12 @@ from transformers import pipeline
|
|
3 |
from PIL import Image
|
4 |
import matplotlib.pyplot as plt
|
5 |
import io
|
6 |
-
|
7 |
detector50 = pipeline(model="TuningAI/DETR-BASE_Marine")
|
8 |
-
|
9 |
import gradio as gr
|
10 |
|
11 |
fdic = {
|
12 |
"style" : "italic",
|
13 |
-
"size" :
|
14 |
"color" : "red",
|
15 |
"weight" : "bold"
|
16 |
}
|
|
|
3 |
from PIL import Image
|
4 |
import matplotlib.pyplot as plt
|
5 |
import io
|
|
|
6 |
detector50 = pipeline(model="TuningAI/DETR-BASE_Marine")
|
|
|
7 |
import gradio as gr
|
8 |
|
9 |
fdic = {
|
10 |
"style" : "italic",
|
11 |
+
"size" : 13,
|
12 |
"color" : "red",
|
13 |
"weight" : "bold"
|
14 |
}
|