gospacedev commited on
Commit
ef82ae4
1 Parent(s): f95580b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,10 +8,10 @@ def system_instructions(question_difficulty, tone, topic):
8
  return f"""<s> [INST] Your are a great teacher and your task is to create 10 questions with 4 choices with a {question_difficulty} difficulty in a {tone} tone about {topic}, then create an answers. Index in JSON format, the questions as "Q#":"" to "Q#":"", the four choices as "Q#:C1":"" to "Q#:C4":"", and the answers as "A#":"Q#:C#" to "A#":"Q#:C#". [/INST]"""
9
 
10
 
11
- with gr.Blocks(title="Quizmona", theme=gr.themes.Default(primary_hue="green", secondary_hue="green"), css="style.css") as demo:
12
  gr.HTML("""
13
  <center>
14
- <h1>Quizmona</h1>
15
  <h2>AI-powered Learning Game</h2>
16
  </center>
17
  """)
 
8
  return f"""<s> [INST] Your are a great teacher and your task is to create 10 questions with 4 choices with a {question_difficulty} difficulty in a {tone} tone about {topic}, then create an answers. Index in JSON format, the questions as "Q#":"" to "Q#":"", the four choices as "Q#:C1":"" to "Q#:C4":"", and the answers as "A#":"Q#:C#" to "A#":"Q#:C#". [/INST]"""
9
 
10
 
11
+ with gr.Blocks(title="Quiz Maker", theme=gr.themes.Default(primary_hue="green", secondary_hue="green"), css="style.css") as demo:
12
  gr.HTML("""
13
  <center>
14
+ <h1>Quiz Maker</h1>
15
  <h2>AI-powered Learning Game</h2>
16
  </center>
17
  """)