mgetz commited on
Commit
86f76a1
·
verified ·
1 Parent(s): 63156af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -144,13 +144,13 @@ about_text = """
144
  """
145
 
146
  title = """
147
- # 🧬 Smarty-Pants Physics Bot 🧬
148
  """
149
 
150
- with gr.Blocks(theme='mgetz/Celeb_glitzy') as chatbot:
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=2):
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)
@@ -166,4 +166,4 @@ with gr.Blocks(theme='mgetz/Celeb_glitzy') as chatbot:
166
 
167
 
168
  #chatbot = gr.ChatInterface(respond, type="messages", theme="mgetz/Celeb_glitzy", title="Physics Chatbot", description="Use this chatbot to help you with Physics")
169
- chatbot.launch()
 
144
  """
145
 
146
  title = """
147
+ # 🧬 Professor PhysicsBot 🧬
148
  """
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)
 
166
 
167
 
168
  #chatbot = gr.ChatInterface(respond, type="messages", theme="mgetz/Celeb_glitzy", title="Physics Chatbot", description="Use this chatbot to help you with Physics")
169
+ PhysicsBot.launch()