Spaces:
Sleeping
Sleeping
Moiz
commited on
Commit
·
e336d68
1
Parent(s):
c6a3e36
Added application form slider
Browse files
app.py
CHANGED
@@ -11,10 +11,10 @@ def rate_movie(movie_name, rating):
|
|
11 |
with gr.Blocks() as app:
|
12 |
gr.Markdown("# Movie Rating App")
|
13 |
movie_name = gr.Textbox(label="Movie Name", placeholder="Enter the movie name...")
|
14 |
-
rating = gr.
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
)
|
19 |
submit = gr.Button("Submit Rating")
|
20 |
output = gr.Textbox(label="Your Feedback")
|
|
|
11 |
with gr.Blocks() as app:
|
12 |
gr.Markdown("# Movie Rating App")
|
13 |
movie_name = gr.Textbox(label="Movie Name", placeholder="Enter the movie name...")
|
14 |
+
rating = gr.Slider(
|
15 |
+
minumum=0,
|
16 |
+
maximum=10,
|
17 |
+
step = 0.25
|
18 |
)
|
19 |
submit = gr.Button("Submit Rating")
|
20 |
output = gr.Textbox(label="Your Feedback")
|