File size: 692 Bytes
849285b
 
 
 
 
 
 
26e8e9b
849285b
3b0eb88
fca8475
3b0eb88
fca8475
 
 
3b0eb88
 
fca8475
 
 
3b0eb88
 
 
fca8475
 
 
3b0eb88
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
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.