Spaces:
Sleeping
Sleeping
Commit History
-
Simplify to generate only one spell
tjrtm- Modified fetch_random_spells() to fetch_random_spell() returning single spell - Removed multiple spell display and expandable sections - Simplified interface to show just one spell with its effect - Updated text to reflect single spell generation - Cleaner, more focused user experience0570e7e -
Fix Streamlit deprecation warning
tjrtm- Replace deprecated use_column_width with use_container_width parameter - Fix indentation issues in the image display sectionaeaf039 -
Complete refactor: Switch from Gradio to Streamlit
tjrtmBREAKING CHANGE: Complete rewrite of the application - Replace Gradio with Streamlit to eliminate schema parsing errors - Use latest versions of all libraries (no version pinning) - Modern, responsive Streamlit interface with sidebar - Better error handling and user feedback - Improved UX with loading indicators and fallbacks - Clean modular code structure - Enhanced features: spell exploration, better visualizations - Updated README with comprehensive documentation This completely eliminates the 'TypeError: argument of type bool is not iterable' error by removing Gradio's problematic JSON schema parsing entirely.9fbf170 -
Switch to Gradio 3.50.2 to fix schema parsing errors
tjrtm- Downgrade to Gradio 3.50.2 which doesn't have the JSON schema parsing bug - Switch from gr.Blocks to gr.Interface (simpler, more stable API) - Remove complex layouts that cause schema issues - Use the classic Gradio interface pattern that's known to work - This should finally resolve the 'TypeError: argument of type bool is not iterable' error991ec48 -
Simplify Gradio interface to fix schema errors
tjrtm- Downgrade to Gradio 4.20.0 which is more stable - Simplify interface to single button instead of multiple buttons - Remove complex Row layouts that might cause schema issues - Add share=True for easier deployment testing - Streamline function structure to avoid complex parameter handlingd4e4b9f -
Fix dependency conflicts
tjrtm- Remove smolagents from requirements since we no longer use it - Remove separate Pillow dependency (Gradio will install compatible version) - Remove unused yaml import - This resolves the Pillow version conflict between Gradio 4.44.0 and smolagents 1.8.08ebf188 -
Fix Gradio compatibility issue
tjrtm- Remove smolagents integration that was causing schema parsing errors - Simplify to pure Gradio interface with direct function calls - Pin Gradio version to 4.44.0 for stability - Fix typo in image prompt (spel -> spell) - Return PIL Images directly to Gradio instead of file paths31c1681 -
Fix image generation to use free FLUX model and prevent binary file commits
tjrtm- Replace paid Replicate image tool with free HuggingFace FLUX.1-schnell - Modified image generation to not save files to disk - Updated .gitignore to exclude generated images - Added Pillow dependency for image processing - Updated README with comprehensive project description1c3fcb7 -
Update app.py
Verified signaturee49b495
-
Update app.py
Verified signaturenot a cat anymore86dbb03 -
Update app.py
Verified signatureimage_prompt = f"an image of a cute cat executing a magical spel: '{spell_name}', that does: '{spell_effect}, in cyber city and Drum and Base party' "c39994a -
Update app.py
Verified signaturestill a cat4a98a08 -
Update app.py
Verified signatureits a cat!82018a1 -
test
Verified signature454efab
-
Spell Visualizer
707f320
-
Update app.py
Verified signature6ce1a68 -
Update app.py
Verified signature6a83fad -
Update app.py
Verified signaturedc35bf1 -
Update app.py
Verified signature9bdc0d6 -
Update app.py
Verified signaturec6330ef -
Update app.py
Verified signature00ab256 -
Update app.py
Verified signature7691f8d -
Update app.py
Verified signature3b50b4c -
tool updates
Verified signaturef516371
-
Suggest using endpoint if agent is not answering
Verified signatureae7a494 -
Update app.py to fix a typo in function definition (#26)
Verified signature- Update app.py (966ec90dfdf1417af0d2f2a3c6c22be9e361b120) Co-authored-by: gael <gael1130@users.noreply.huggingface.co>3d1237b -
Update app.py
Verified signature29ec968
-
Update app.py
Verified signature9a8c112 -
switch model cause qwen is too overloaded.
Verified signature25a2f38
-
Update app.py
Verified signature5df72d6 -
Update app.py
Verified signatured2f6a24 -
Update app.py
Verified signature6aae614 -
Update app.py
Verified signature9b5b26a
-
Upload tool
Verified signaturebf6d34c -
Upload tool
Verified signature861422e -
Upload tool
Verified signature487a7fe -
Upload tool
Verified signaturec19d193 -
Upload tool
Verified signature14eb38e -
Upload tool
Verified signaturefa1d5b1 -
Upload tool
Verified signature6f5c32f -
Upload tool
Verified signature570337e
-
Upload tool
Verified signaturefe328e0 -
Upload tool
Verified signature13d500a -
Upload tool
Verified signatured244bbb -
Upload tool
Verified signature4649734 -
Upload tool
Verified signature82203f1 -
Upload tool
Verified signature7c0162f -
Upload tool
Verified signatureccf4c06 -
Upload tool
Verified signaturec4ec8b7 -
Upload tool
Verified signature701eb1b