Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -87,10 +87,11 @@ def fourier_transform_drawing(input_image, output_animation, frames, coefficient
|
|
87 |
interface = gr.Interface(
|
88 |
fn=fourier_transform_drawing,
|
89 |
inputs=[
|
90 |
-
|
91 |
-
gr.
|
92 |
-
gr.
|
93 |
-
gr.Slider(minimum=10, maximum=500,
|
|
|
94 |
],
|
95 |
outputs="file",
|
96 |
title="Fourier Transform Drawing",
|
|
|
87 |
interface = gr.Interface(
|
88 |
fn=fourier_transform_drawing,
|
89 |
inputs=[
|
90 |
+
|
91 |
+
gr.Image(label="Input Image", sources=['upload'], type="pil"),
|
92 |
+
gr.Textbox(label="Output Animation Path"),
|
93 |
+
gr.Slider(minimum=10, maximum=500, value=300, label="Number of Frames"),
|
94 |
+
gr.Slider(minimum=10, maximum=500, value=300, label="Number of Coefficients")
|
95 |
],
|
96 |
outputs="file",
|
97 |
title="Fourier Transform Drawing",
|