Spaces:
Runtime error
Runtime error
Satyam-Singh
commited on
Commit
•
5692502
1
Parent(s):
09e93c7
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
|
4 |
# Load the GGUF model and tokenizer
|
@@ -22,4 +28,4 @@ chatbot = gr.Chatbot(
|
|
22 |
)
|
23 |
|
24 |
# Launch the Gradio app
|
25 |
-
chatbot.launch()
|
|
|
1 |
+
from chatbot import chatbot
|
2 |
+
|
3 |
+
if __name__ == "__main__":
|
4 |
+
chatbot.launch()
|
5 |
+
|
6 |
+
|
7 |
+
'''import gradio as gr
|
8 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
9 |
|
10 |
# Load the GGUF model and tokenizer
|
|
|
28 |
)
|
29 |
|
30 |
# Launch the Gradio app
|
31 |
+
chatbot.launch()'''
|