Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -69,11 +69,11 @@ def main(link, difficulty_level):
|
|
69 |
iface = gr.Interface(
|
70 |
fn=main,
|
71 |
inputs=[
|
72 |
-
gr.
|
73 |
-
gr.
|
74 |
],
|
75 |
outputs=[
|
76 |
-
gr.
|
77 |
],
|
78 |
title="YouTube Video Subtitle to MCQs Quiz",
|
79 |
description="Generate MCQs from YouTube video subtitles"
|
|
|
69 |
iface = gr.Interface(
|
70 |
fn=main,
|
71 |
inputs=[
|
72 |
+
gr.components.Textbox(lines=2, placeholder="Enter YouTube video link"),
|
73 |
+
gr.components.Dropdown(["Easy", "Medium", "Hard"], label="Select difficulty level:")
|
74 |
],
|
75 |
outputs=[
|
76 |
+
gr.components.JSON(label="MCQs Output")
|
77 |
],
|
78 |
title="YouTube Video Subtitle to MCQs Quiz",
|
79 |
description="Generate MCQs from YouTube video subtitles"
|