scholarly360 commited on
Commit
08349ae
·
verified ·
1 Parent(s): 7e2a0c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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 GPT-4 Mini",
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>🤖 Q&A Generator</h1>
92
- <p>Generate 10 comprehensive questions and answers on any topic using GPT-4 Mini</p>
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., 'Climate Change', 'Machine Learning', 'Ancient Rome')",
101
  lines=2
102
  )
103
 
@@ -138,8 +138,8 @@ def create_interface():
138
  gr.Examples(
139
  examples=[
140
  ["Artificial Intelligence", "Medium"],
141
- ["Photosynthesis", "Easy"],
142
- ["Quantum Physics", "Hard"],
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
  ],