PaperProf / app.py

Commit History

fix: pre-translate non-English chunks to English before LLM inference
67da08d

Mehdi commited on

revert: restore original demo.launch(), blog served from separate static Space
7458c71

Mehdi commited on

fix: inject /blog into Gradio's internal FastAPI router at position 0
2d50118

Mehdi commited on

fix: mount /blog before Gradio so static files aren't swallowed by catch-all route
008db30

Mehdi commited on

feat: serve blog at /blog from main Space + badge showcase
fffdc96

Mehdi commited on

feat: full-height libraries, pre-generated reward image, English upload text
ee14d3e

Ryadg commited on

fix: make the llama.cpp CPU runtime actually usable on the Space
b5f4a07

Mehdi commited on

fix: library panels full width, hidden rows off-screen
c80db61

Ryadg commited on

feat: animated library side panels with mini robots
867662d

Ryadg commited on

feat: amphitheater hero with mouse-tracking robot professor, fixed particles
57ebbd6

Ryadg commited on

fix: MCQ clicks broken — restore onclick in showMCQ, remove duplicate addEventListener
92295c9

Mehdi commited on

fix: MCQ double-count — remove duplicate onclick handler in showMCQ
ff2dbd5

Mehdi commited on

feat: FLUX image generation moved to End Session modal as session visual summary
eb2f556

Ryadg commited on

fix: increase GPU duration to 120s, prefetch FLUX weights on startup
5158491

Ryadg commited on

fix: FLUX.2-klein prompt keyword arg, image for all verdicts
413ab6b

Ryadg commited on

feat: FLUX.1-schnell image generation after correct answers
53f316c

Ryadg commited on

ui: replace mode pills with large cards (icon, title, desc, check indicator)
8fd63cd

Mehdi commited on

fix: English only, remove language toggle
96f9864

Mehdi commited on

fix: MCQ onclick via closure, add FR/EN language pills wired to hidden textbox
d6632b3

Mehdi commited on

feat: add MCQ mode with 4 options, client-side evaluation and per-choice explanations
978d90d

Mehdi commited on

fix: truncate source passage to 3 sentences / 400 chars for display
770006e

Mehdi commited on

fix: expose chunk via hidden textbox so source passage displays in feedback
3f931e8

Mehdi commited on

fix: replace hidden button clicks with textbox triggers (setGradioTA works, btn.click() doesn't in Gradio SSR)
93eb128

Mehdi commited on

fix: replace display:none on hidden rows with height:0 so Gradio mounts event handlers
0ec5648

Mehdi commited on

debug: add prints in new_question to trace call and LLM progress
2f3700c

Mehdi commited on

fix: elapsed time counter + 3min hard timeout on question generation
80f7ff0

Mehdi commited on

fix: infinite spinner on question gen, 4-bit quant for low VRAM
12c4c0f

Mehdi commited on

fix: full quiz flow via BRIDGE_JS, English only, buttons DOM-visible
12edc45

Ryadg commited on

fix: move bridge JS to demo.load() script in gr.HTML never executed
f2b3289

Ryadg commited on

fix: hero visible, polling replaces MutationObserver for Svelte compat
f72a551

Ryadg commited on

fix: hero visible, upload row vertical, thin lines gone
d9f3227

Ryadg commited on

fix: hero HTML fragment, invisible textboxes, gradient button
e7d55a7

Ryadg commited on

fix: make status/question/feedback textboxes DOM-visible for JS observer
e8993e4

Ryadg commited on

feat: beautiful dark theme UI with smart status bridge
9fbc532

Ryadg commited on

feat: hybrid approach native Gradio file upload styled with custom CSS
f09fe58

Ryadg commited on

fix: add explicit demo.launch() with server_name and port
3aa55b2

Ryadg commited on

fix: remove if __name__ block so HF Spaces auto-launches demo
376dfb9

Ryadg commited on

debug: add instrumentation to find crash location
c572e8a

Ryadg commited on

fix: suppress warnings, css back in gr.Blocks for HF Spaces
b0eeec4

Ryadg commited on

feat: Off-Brand badge - custom HTML UI with JS bridge to hidden Gradio components
97e5b2d

Ryadg commited on

feat: switch to Docker SDK with custom FastAPI frontend at /
22e60a6

Ryadg commited on

fix: back to app.py entry point, custom UI at /paperprof-ui
b10f33b

Ryadg commited on

fix: use @spaces.GPU directly, remove theme/css from gr.Blocks constructor
356c3d5

Ryadg commited on

feat: Off-Brand badge - custom FastAPI+HTML frontend, zero Gradio chrome
e984a0a

Ryadg commited on

fix: même fond sombre pour status/question/feedback que Your Answer
202248a

Mehdi commited on

fix: texte question/feedback invisible + prompt langue renforcé
7c23d32

Mehdi commited on

fix: langue par défaut English
6922e3d

Mehdi commited on

fix: retire primary_hue orange qui changeait toutes les teintes
f424e48

Mehdi commited on

fix: revenir au style sombre Soft, juste boutons colorés + zone upload propre
e43ac61

Mehdi commited on

fix: revenir à Soft theme (file upload correct) + override cards blanches
233da03

Mehdi commited on