fine_tuned_model = "ashioyajotham/results" def generate_code(input_text): # Use your fine-tuned model to generate code here generated_code = fine_tuned_model.generate(input_text) return generated_code import gradio as gr iface = gr.Interface( fn=generate_code, inputs="text", outputs="text", title="Code Generation App", description="Generate code from text input." ) iface.launch()