ZeyadMostafa22 commited on
Commit
a1e9e88
·
1 Parent(s): 7686861

edit the app file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def classify_audio(audio_file):
57
  # 5) Build Gradio interface
58
  demo = gr.Interface(
59
  fn=classify_audio,
60
- inputs=gr.Audio(source="upload", type="filepath"),
61
  outputs="text",
62
  title="Wav2Vec2 Deepfake Detection",
63
  description="Upload an audio sample to check if it is fake or real."
 
57
  # 5) Build Gradio interface
58
  demo = gr.Interface(
59
  fn=classify_audio,
60
+ inputs=gr.Audio( type="filepath"),
61
  outputs="text",
62
  title="Wav2Vec2 Deepfake Detection",
63
  description="Upload an audio sample to check if it is fake or real."