Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,6 +61,10 @@
|
|
| 61 |
# chatbot.launch()
|
| 62 |
|
| 63 |
import gradio as gr
|
| 64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
# gr.load("models/bigcode/starcoder").launch()
|
| 66 |
chatbot.launch()
|
|
|
|
| 61 |
# chatbot.launch()
|
| 62 |
|
| 63 |
import gradio as gr
|
| 64 |
+
|
| 65 |
+
def YourCoder_chatbot(message, history):
|
| 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 |
# gr.load("models/bigcode/starcoder").launch()
|
| 70 |
chatbot.launch()
|