Spaces:
Build error
Build error
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):
|