st192011 commited on
Commit
86a66b3
·
verified ·
1 Parent(s): be27e83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -194,7 +194,15 @@ To deliver a flawless UX, we implemented a **Programmatic UX Stream Filter**:
194
  # GRADIO INTERFACE LAYOUT
195
  # ==============================================================================
196
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
197
- gr.Markdown("<h1 style='text-align: center;'>🧠 1-Bit AI Socratic Tutor (Science Day Demo)</h1>")
 
 
 
 
 
 
 
 
198
 
199
  with gr.Tabs():
200
  with gr.TabItem("🎓 Interactive Tutor"):
 
194
  # GRADIO INTERFACE LAYOUT
195
  # ==============================================================================
196
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
197
+ gr.HTML("""
198
+ <div style='display: flex; justify-content: center; align-items: center; gap: 30px; padding: 20px 0;'>
199
+ <div style='text-align: right;'>
200
+ <h1 style='margin: 0;'>🧠 1-Bit AI Socratic Tutor</h1>
201
+ <p style='font-size: 1.1rem; color: #64748b; margin: 5px 0 0 0;'>Science Day Demo</p>
202
+ </div>
203
+ <img src='https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=https://huggingface.co/spaces/st192011/Bitnet-Socratic-1-Bit' alt='Scan to use on mobile' style='border: 2px solid #e2e8f0; border-radius: 8px; padding: 5px; background: white;'/>
204
+ </div>
205
+ """)
206
 
207
  with gr.Tabs():
208
  with gr.TabItem("🎓 Interactive Tutor"):