Spaces:
Running
Running
Delete app.py with huggingface_hub
Browse files
app.py
DELETED
|
@@ -1,15 +0,0 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
-
import matplotlib.pyplot as plt
|
| 3 |
-
import numpy as np
|
| 4 |
-
|
| 5 |
-
Fs = 8000
|
| 6 |
-
f = 5
|
| 7 |
-
sample = 8000
|
| 8 |
-
x = np.arange(sample)
|
| 9 |
-
y = np.sin(2 * np.pi * f * x / Fs)
|
| 10 |
-
plt.plot(x, y)
|
| 11 |
-
|
| 12 |
-
with gr.Blocks() as demo:
|
| 13 |
-
gr.Plot(value=plt)
|
| 14 |
-
|
| 15 |
-
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|