mo-thecreator commited on
Commit
d173f4d
·
verified ·
1 Parent(s): f333f65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,3 +1,6 @@
1
- import gradio as gr
2
 
3
- gr.load("models/mo-thecreator/Deepfake-audio-detection").launch()
 
 
 
 
1
+ from huggingface_hub import InferenceClient
2
 
3
+ client = InferenceClient(
4
+ model="mo-thecreator/Deepfake-audio-detection",
5
+ token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
6
+ )