Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,9 +16,9 @@ with gr.Blocks() as demo1:
|
|
| 16 |
|
| 17 |
import gradio as gr
|
| 18 |
|
| 19 |
-
def predict(
|
| 20 |
-
print(
|
| 21 |
-
return {"inputs":
|
| 22 |
|
| 23 |
with gr.Blocks() as demo:
|
| 24 |
s = gr.Slider(1, 4, step=1, interactive=True)
|
|
|
|
| 16 |
|
| 17 |
import gradio as gr
|
| 18 |
|
| 19 |
+
def predict(*args):
|
| 20 |
+
print(args)
|
| 21 |
+
return {"inputs": list(args)}
|
| 22 |
|
| 23 |
with gr.Blocks() as demo:
|
| 24 |
s = gr.Slider(1, 4, step=1, interactive=True)
|