Yashnik commited on
Commit
66da118
·
verified ·
1 Parent(s): 3be74ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,10 +66,10 @@ import gradio as gr
66
  # gr.load("models/bigcode/starcoder")
67
 
68
  # chatbot = gr.ChatInterface(YourCoder_chatbot, title="YourCoder Chatbot", description="Enter piece of code to generate a code review!")
69
- chatbot = gr.Interface(fn=gr.load("models/bigcode/starcoder").launch(), inputs=[gr.Textbox(label="Insert Code Snippet",lines=5)],
70
  outputs=[gr.Textbox(label="Review Here",lines=8)],
71
  title="Code Reviewer"
72
  )
73
  # gr.load("models/bigcode/starcoder").launch()
74
 
75
- # chatbot.launch()
 
66
  # gr.load("models/bigcode/starcoder")
67
 
68
  # chatbot = gr.ChatInterface(YourCoder_chatbot, title="YourCoder Chatbot", description="Enter piece of code to generate a code review!")
69
+ chatbot = gr.Interface(fn=gr.load("models/bigcode/starcoder"), inputs=[gr.Textbox(label="Insert Code Snippet",lines=5)],
70
  outputs=[gr.Textbox(label="Review Here",lines=8)],
71
  title="Code Reviewer"
72
  )
73
  # gr.load("models/bigcode/starcoder").launch()
74
 
75
+ chatbot.launch()