Denys9 commited on
Commit
5587c60
·
1 Parent(s): 49d3427

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,5 +1,4 @@
1
- from gpt_index import SimpleDirectoryReader, GPTSimpleVectorIndex, LLMPredictor, PromptHelper
2
- from langchain.chat_models import ChatOpenAI
3
  import gradio as gr
4
  import os
5
 
@@ -14,4 +13,4 @@ demo = gr.Interface(fn=chatbot,
14
  inputs=gr.components.Textbox(lines=7, label="Enter your question"),
15
  outputs=gr.components.Textbox(lines=7, label="Answer"),
16
  title="NFT AI Chatbot")
17
- demo.launch(share=True)
 
1
+ from gpt_index import GPTSimpleVectorIndex
 
2
  import gradio as gr
3
  import os
4
 
 
13
  inputs=gr.components.Textbox(lines=7, label="Enter your question"),
14
  outputs=gr.components.Textbox(lines=7, label="Answer"),
15
  title="NFT AI Chatbot")
16
+ demo.launch()