Spaces:
Sleeping
Sleeping
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() |