Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -149,15 +149,15 @@ title = """
|
|
| 149 |
|
| 150 |
with gr.Blocks(theme='mgetz/Celeb_glitzy') as PhysicsBot:
|
| 151 |
with gr.Row(scale=1):
|
| 152 |
-
gr.Image("Professor PhysicsBot.png", show_label = False, show_share_button = False, show_download_button = False)
|
| 153 |
with gr.Row(scale=3):
|
| 154 |
with gr.Column(scale=2):
|
| 155 |
gr.Markdown(title)
|
| 156 |
gr.Image("CruelRobot.jpg", show_label = False, show_share_button = False, show_download_button = False)
|
| 157 |
-
gr.Markdown(about_text)
|
| 158 |
-
user_name = gr.Textbox(placeholder="Type your name here", label="Name")
|
| 159 |
|
| 160 |
with gr.Column(scale=3):
|
|
|
|
| 161 |
difficulty_level = gr.CheckboxGroup(["baby", "child", "middle school student", "high school student", "Physics Genius"], label="Choose your Physics Level")
|
| 162 |
gr.ChatInterface(
|
| 163 |
fn=respond,
|
|
|
|
| 149 |
|
| 150 |
with gr.Blocks(theme='mgetz/Celeb_glitzy') as PhysicsBot:
|
| 151 |
with gr.Row(scale=1):
|
| 152 |
+
gr.Image("Professor PhysicsBot.png", show_label = False, show_share_button = False, show_download_button = False, width=300, height=300)
|
| 153 |
with gr.Row(scale=3):
|
| 154 |
with gr.Column(scale=2):
|
| 155 |
gr.Markdown(title)
|
| 156 |
gr.Image("CruelRobot.jpg", show_label = False, show_share_button = False, show_download_button = False)
|
| 157 |
+
gr.Markdown(about_text))
|
|
|
|
| 158 |
|
| 159 |
with gr.Column(scale=3):
|
| 160 |
+
user_name = gr.Textbox(placeholder="Type your name here", label="Name"
|
| 161 |
difficulty_level = gr.CheckboxGroup(["baby", "child", "middle school student", "high school student", "Physics Genius"], label="Choose your Physics Level")
|
| 162 |
gr.ChatInterface(
|
| 163 |
fn=respond,
|