Spaces:
Running
Running
import gradio as gr | |
def generate_prompt(network_name, description): | |
return f"Generate a prompt for the neural network '{network_name}' which is described as: {description}" | |
iface = gr.Interface( | |
fn=generate_prompt, | |
inputs=["text", "text"], | |
outputs="text", | |
title="Neural Network Prompt Generator", | |
description="Enter the name and description of the neural network to generate a prompt." | |
) | |
iface.launch() | |