Spaces:
Runtime error
Runtime error
import gradio as gr | |
def generate_python_code(code_input): | |
# Write your code to generate Python code here | |
return code_output | |
app = gr.Interface("Generate Python Code", ["String", gr.Button("Generate")], "String") | |
app.launch("web") |