Update gradio_app.py
Browse files2 unmodified lines34567892 unmodified lines# Step 1: Load the pre-trained model# You can choose any suitable conversational model from the Hugging Face Model Hubchatbot = pipeline("conversational", model="openai-community/gpt2")# Step 2: Define the function that will process user input and return the model's responsedef respond(input_text):2 unmodified lines34567892 unmodified lines# Step 1: Load the pre-trained model# You can choose any suitable conversational model from the Hugging Face Model Hubchatbot = pipeline("conversational", model="EleutherAI/gpt-neo-2.7B")# Step 2: Define the function that will process user input and return the model's responsedef respond(input_text):
gradio_app.py+1-1