Spaces:
Runtime error
Runtime error
File size: 458 Bytes
bff03f4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import gradio as gr
description = "Code generation with GPT-2"
title = "Generate your Python code"
examples = [["# import random forest regressor from scikit-learn from sklearn.ensemble import RandomForestRegressor.# fit random forest model with 300 estimators on X, y:"]]
interface = gr.Interface.load("huggingface/michaelhhl/code-gen-accelerate",
description=description,
title = title,
examples=examples
)
interface.launch()
|