mike-chat / app.py
Trickshotblaster's picture
eee
2769ffd
raw
history blame
320 Bytes
import gradio as gr
import gpt
print(gpt.get_response("test"))
"""
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
"""
demo = gr.Interface(fn=gpt.get_response, inputs="textbox", outputs="textbox")
if __name__ == "__main__":
demo.launch()