Tonic commited on
Commit
fd438ab
ยท
unverified ยท
1 Parent(s): f049afb
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -188,14 +188,13 @@ def main():
188
  with gr.Blocks() as demo:
189
  # Title and Model Description
190
  gr.Markdown("""# ๐Ÿ™‹๐Ÿปโ€โ™‚๏ธWelcome to ๐ŸŒŸTonic's ๐ŸŒ•๐Ÿ’‰๐Ÿ‘จ๐Ÿปโ€๐Ÿ”ฌMoonshot Math""")
191
- with gr.Row:
192
- with gr.Column:
193
  gr.Markdown(description)
194
- with gr.Column:
195
  gr.Markdown(joinus)
196
  with gr.Row():
197
  with gr.Column():
198
-
199
  user_input = gr.Textbox(label="Your message or formal statement", lines=4)
200
  informal = gr.Textbox(value=additional_info_prompt, label="Optional informal prefix")
201
  max_tokens = gr.Slider(minimum=150, maximum=4096, value=2500, label="Max Tokens")
@@ -208,10 +207,10 @@ def main():
208
  state = gr.State([])
209
  submit.click(chat_handler, [user_input, informal, max_tokens, state], [chat, json_out, code_out, state])
210
  gr.Examples(
211
- examples=examples,
212
- inputs=["user_input", "informal", "max_tokens"],
213
- label="Example Problems"
214
- )
215
  gr.Markdown(citation)
216
  demo.launch()
217
 
 
188
  with gr.Blocks() as demo:
189
  # Title and Model Description
190
  gr.Markdown("""# ๐Ÿ™‹๐Ÿปโ€โ™‚๏ธWelcome to ๐ŸŒŸTonic's ๐ŸŒ•๐Ÿ’‰๐Ÿ‘จ๐Ÿปโ€๐Ÿ”ฌMoonshot Math""")
191
+ with gr.Row():
192
+ with gr.Column():
193
  gr.Markdown(description)
194
+ with gr.Column():
195
  gr.Markdown(joinus)
196
  with gr.Row():
197
  with gr.Column():
 
198
  user_input = gr.Textbox(label="Your message or formal statement", lines=4)
199
  informal = gr.Textbox(value=additional_info_prompt, label="Optional informal prefix")
200
  max_tokens = gr.Slider(minimum=150, maximum=4096, value=2500, label="Max Tokens")
 
207
  state = gr.State([])
208
  submit.click(chat_handler, [user_input, informal, max_tokens, state], [chat, json_out, code_out, state])
209
  gr.Examples(
210
+ examples=examples,
211
+ inputs=["user_input", "informal", "max_tokens"],
212
+ label="Example Problems"
213
+ )
214
  gr.Markdown(citation)
215
  demo.launch()
216