Commit
·
58b95fb
1
Parent(s):
b8a864b
updated app
Browse files
app.py
CHANGED
@@ -1,9 +1,11 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
#from transformers import pipeline
|
3 |
from transformers import AutoModel
|
4 |
import ecg_plot
|
5 |
import matplotlib.pyplot as plt
|
6 |
from PIL import Image
|
|
|
7 |
#pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
|
8 |
model = AutoModel.from_pretrained("deepsynthbody/deepfake_ecg", trust_remote_code=True)
|
9 |
|
|
|
1 |
+
import io
|
2 |
import gradio as gr
|
3 |
#from transformers import pipeline
|
4 |
from transformers import AutoModel
|
5 |
import ecg_plot
|
6 |
import matplotlib.pyplot as plt
|
7 |
from PIL import Image
|
8 |
+
import torch
|
9 |
#pipeline = pipeline(task="image-classification", model="julien-c/hotdog-not-hotdog")
|
10 |
model = AutoModel.from_pretrained("deepsynthbody/deepfake_ecg", trust_remote_code=True)
|
11 |
|