FractalAIR commited on
Commit
179464f
·
verified ·
1 Parent(s): 51c367c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -12
app.py CHANGED
@@ -95,28 +95,28 @@ example_messages = {
95
  }
96
 
97
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
98
- gr.Markdown(
99
- """
100
- # Ramanujan Ganit R1 14B V1 Chatbot
101
-
102
- Welcome to the Ramanujan Ganit R1 14B V1 Chatbot, developed by Fractal AI Research!
103
-
104
- Our model excels at reasoning tasks in mathematics and science.
105
-
106
- Try the example problems below from JEE Main 2025 or type in your own problems to see how our model breaks down complex reasoning problems.
107
- """
108
- )
109
 
110
  with gr.Sidebar():
111
  gr.Markdown("## Conversations")
112
  conversation_selector = gr.Radio(choices=[], label="Select Conversation", interactive=True)
113
- new_convo_button = gr.Button("New Conversation")
114
 
115
  current_convo_id = gr.State(generate_conversation_id())
116
  history_state = gr.State([])
117
 
118
  with gr.Row():
119
  with gr.Column(scale=1):
 
 
 
 
 
 
 
 
 
120
  gr.Markdown("### Settings")
121
  max_tokens_slider = gr.Slider(minimum=6144, maximum=32768, step=1024, value=16384, label="Max Tokens")
122
  with gr.Accordion("Advanced Settings", open=False):
@@ -124,6 +124,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
124
  top_p_slider = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, label="Top-p")
125
 
126
  with gr.Column(scale=4):
 
127
  chatbot = gr.Chatbot(label="Chat", type="messages")
128
  with gr.Row():
129
  user_input = gr.Textbox(label="User Input", placeholder="Type your question here...", scale=8)
 
95
  }
96
 
97
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
98
+ # Global heading stays at top
99
+ gr.Markdown("# Ramanujan Ganit R1 14B V1 Chatbot")
 
 
 
 
 
 
 
 
 
100
 
101
  with gr.Sidebar():
102
  gr.Markdown("## Conversations")
103
  conversation_selector = gr.Radio(choices=[], label="Select Conversation", interactive=True)
104
+ new_convo_button = gr.Button("New Conversation")
105
 
106
  current_convo_id = gr.State(generate_conversation_id())
107
  history_state = gr.State([])
108
 
109
  with gr.Row():
110
  with gr.Column(scale=1):
111
+ # INTRO TEXT MOVED HERE
112
+ gr.Markdown(
113
+ """
114
+ Welcome to the Ramanujan Ganit R1 14B V1 Chatbot, developed by Fractal AI Research!
115
+ Our model excels at reasoning tasks in mathematics and science.
116
+ Try the example problems below from JEE Main 2025 or type in your own problems to see how our model breaks down complex reasoning problems.
117
+ """
118
+ )
119
+
120
  gr.Markdown("### Settings")
121
  max_tokens_slider = gr.Slider(minimum=6144, maximum=32768, step=1024, value=16384, label="Max Tokens")
122
  with gr.Accordion("Advanced Settings", open=False):
 
124
  top_p_slider = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, label="Top-p")
125
 
126
  with gr.Column(scale=4):
127
+ #chatbot = gr.Chatbot(label="Chat", type="messages")
128
  chatbot = gr.Chatbot(label="Chat", type="messages")
129
  with gr.Row():
130
  user_input = gr.Textbox(label="User Input", placeholder="Type your question here...", scale=8)