Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def create_interface():
|
|
| 72 |
"""Create and configure the Gradio interface"""
|
| 73 |
|
| 74 |
with gr.Blocks(
|
| 75 |
-
title="Q&A Generator with
|
| 76 |
theme=gr.themes.Soft(),
|
| 77 |
css="""
|
| 78 |
.main-header {
|
|
@@ -88,8 +88,8 @@ def create_interface():
|
|
| 88 |
|
| 89 |
gr.HTML("""
|
| 90 |
<div class="main-header">
|
| 91 |
-
<h1>🤖
|
| 92 |
-
<p>Generate 10 comprehensive questions and answers on any topic using
|
| 93 |
</div>
|
| 94 |
""")
|
| 95 |
|
|
@@ -97,7 +97,7 @@ def create_interface():
|
|
| 97 |
with gr.Column(scale=2):
|
| 98 |
topic_input = gr.Textbox(
|
| 99 |
label="Topic",
|
| 100 |
-
placeholder="Enter any topic (e.g., '
|
| 101 |
lines=2
|
| 102 |
)
|
| 103 |
|
|
@@ -138,8 +138,8 @@ def create_interface():
|
|
| 138 |
gr.Examples(
|
| 139 |
examples=[
|
| 140 |
["Artificial Intelligence", "Medium"],
|
| 141 |
-
["
|
| 142 |
-
["
|
| 143 |
["Renaissance Art", "Medium"],
|
| 144 |
["Cryptocurrency", "Medium"]
|
| 145 |
],
|
|
|
|
| 72 |
"""Create and configure the Gradio interface"""
|
| 73 |
|
| 74 |
with gr.Blocks(
|
| 75 |
+
title="StudyBuddy-AI - Q&A Generator with LLM",
|
| 76 |
theme=gr.themes.Soft(),
|
| 77 |
css="""
|
| 78 |
.main-header {
|
|
|
|
| 88 |
|
| 89 |
gr.HTML("""
|
| 90 |
<div class="main-header">
|
| 91 |
+
<h1>🤖 StudyBuddy-AI </h1>
|
| 92 |
+
<p>Generate 10 comprehensive questions and answers on any topic using gpt-4-o mini</p>
|
| 93 |
</div>
|
| 94 |
""")
|
| 95 |
|
|
|
|
| 97 |
with gr.Column(scale=2):
|
| 98 |
topic_input = gr.Textbox(
|
| 99 |
label="Topic",
|
| 100 |
+
placeholder="Enter any topic (e.g., 'AWS', 'Machine Learning', 'Azure Web Apps')",
|
| 101 |
lines=2
|
| 102 |
)
|
| 103 |
|
|
|
|
| 138 |
gr.Examples(
|
| 139 |
examples=[
|
| 140 |
["Artificial Intelligence", "Medium"],
|
| 141 |
+
["AWS", "Easy"],
|
| 142 |
+
["Azure", "Hard"],
|
| 143 |
["Renaissance Art", "Medium"],
|
| 144 |
["Cryptocurrency", "Medium"]
|
| 145 |
],
|