diagram-generator / README.md
Sugamdeol's picture
Update README.md
3b0eb88 verified

A newer version of the Gradio SDK is available: 5.13.0

Upgrade
metadata
title: Diagram Generator
sdk: gradio
emoji: 🌍
colorFrom: blue
colorTo: blue
pinned: true
sdk_version: 4.44.0

Python Code to Graph Generator

This Hugging Face Space takes Python code as input and generates a graph based on it.

Files

  • app.py: Main code to handle Python code input and generate graphs.
  • requirements.txt: Lists required libraries.

Setup

  1. Create a Hugging Face Space with the Gradio runtime.
  2. Upload these files to your Space.
  3. Install dependencies using requirements.txt.

Usage

  1. Paste Python code into the text area. Ensure the code defines a variable multiplier.
  2. Run the code to generate and view the graph.