Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.13.0
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
- Create a Hugging Face Space with the Gradio runtime.
- Upload these files to your Space.
- Install dependencies using
requirements.txt
.
Usage
- Paste Python code into the text area. Ensure the code defines a variable
multiplier
. - Run the code to generate and view the graph.