Skip to content

Add Gradio web interface#1

Open
cbdonohue wants to merge 11 commits intoOtter-man:mainfrom
cbdonohue:main
Open

Add Gradio web interface#1
cbdonohue wants to merge 11 commits intoOtter-man:mainfrom
cbdonohue:main

Conversation

@cbdonohue
Copy link

@cbdonohue cbdonohue commented May 29, 2025

Add Gradio Web Interface and Docker Support

Changes

  • Added Gradio web interface (app.py) for easy image upload and prompt entry
  • Added Docker support with secure API key handling
  • Updated dependency management with requirements.txt
  • Added detailed documentation about model collapse
  • Improved README with new features, screenshots, and usage instructions

Features

  • Web Interface: User-friendly Gradio UI for image uploads and prompt entry
  • Docker Support: Containerized deployment with secure API key handling
  • Improved Documentation: Added detailed explanation of model collapse phenomenon
  • Better Dependencies: Consolidated requirements in requirements.txt

Technical Details

  • Gradio app binds to 0.0.0.0:7860 for network accessibility
  • Docker build uses build args for secure API key handling
  • Added proper error handling and input validation in web interface
  • Maintained backward compatibility with CLI interface

Testing

  • Tested locally with various image inputs
  • Verified Docker build and run process
  • Confirmed API key handling security
  • Tested network accessibility

Screenshots

Added to README

Related Issues

[Link any related issues here]

Checklist

  • Added Gradio web interface
  • Added Docker support
  • Updated documentation
  • Added proper error handling
  • Maintained CLI functionality
  • Added screenshots
  • Updated dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant