GPT4Alldel / app.py
abdullah040's picture
Duplicate from rishiraj/GPT4All
a10521d
raw
history blame contribute delete
185 Bytes
import gradio as gr
from nomic.gpt4all import GPT4All
m = GPT4All()
m.open()
def chat(input):
return m.prompt(input)
gr.Interface(fn=chat, inputs="text", outputs="text").launch()