Spaces:
Sleeping
Sleeping
peterpeter8585
commited on
Commit
•
f7f1eb5
1
Parent(s):
f20cd87
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
|
|
3 |
from Ai import chatbot, chatbot2, chatbot3, chatbot4, chatbot5, chatbot7, chatbot11
|
4 |
from huggingface_hub import InferenceClient
|
5 |
def chat(message,history: list[tuple[str, str]],system_message,max_tokens,temperature,top_p):
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
+
from transformers import pipeline
|
4 |
from Ai import chatbot, chatbot2, chatbot3, chatbot4, chatbot5, chatbot7, chatbot11
|
5 |
from huggingface_hub import InferenceClient
|
6 |
def chat(message,history: list[tuple[str, str]],system_message,max_tokens,temperature,top_p):
|