ghsambit commited on
Commit
cac8ae1
·
verified ·
1 Parent(s): 3e00ca9

Upload 3 files

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. main.py +19 -4
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Sambit AI
3
  emoji: 🤖
4
  colorFrom: indigo
5
  colorTo: pink
 
1
  ---
2
+ title: Vedanta AI
3
  emoji: 🤖
4
  colorFrom: indigo
5
  colorTo: pink
main.py CHANGED
@@ -1,7 +1,7 @@
 
1
  import gradio as gr
2
  from app import ask_ai
3
 
4
- # GA4 tracking script (will go into HTML block)
5
  tracking_script = """
6
  <!-- Google tag (gtag.js) -->
7
  <script async src="https://www.googletagmanager.com/gtag/js?id=G-CLNDQ829HZ"></script>
@@ -11,16 +11,31 @@ tracking_script = """
11
  gtag('js', new Date());
12
  gtag('config', 'G-CLNDQ829HZ');
13
  </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  """
15
 
16
- # A wrapper function to inject the GA script and return the chatbot interface
17
  def create_app():
18
  with gr.Blocks() as demo:
19
  gr.HTML(tracking_script)
20
  gr.ChatInterface(
21
  fn=ask_ai,
22
- title="Vedanta AI — Powered by Acrilc",
23
- description="Ask anything. Vedanta AI: build by Sambit Ghosh."
24
  )
25
  return demo
26
 
 
1
+
2
  import gradio as gr
3
  from app import ask_ai
4
 
 
5
  tracking_script = """
6
  <!-- Google tag (gtag.js) -->
7
  <script async src="https://www.googletagmanager.com/gtag/js?id=G-CLNDQ829HZ"></script>
 
11
  gtag('js', new Date());
12
  gtag('config', 'G-CLNDQ829HZ');
13
  </script>
14
+
15
+ <style>
16
+ @media only screen and (max-width: 768px) {
17
+ .gradio-container {
18
+ padding: 10px !important;
19
+ font-size: 16px !important;
20
+ }
21
+ .gr-button {
22
+ font-size: 16px !important;
23
+ padding: 10px 15px !important;
24
+ }
25
+ .gr-chatbot {
26
+ font-size: 16px !important;
27
+ }
28
+ }
29
+ </style>
30
  """
31
 
 
32
  def create_app():
33
  with gr.Blocks() as demo:
34
  gr.HTML(tracking_script)
35
  gr.ChatInterface(
36
  fn=ask_ai,
37
+ title="Vedanta AI 🤖 — Powered by Together & LLaMA 3",
38
+ description="Ask anything. Vedanta AI uses Together's Mixtral 8x7B model."
39
  )
40
  return demo
41