Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,11 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStream
|
|
5 |
import os
|
6 |
from threading import Thread
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
11 |
|
12 |
system_prompt = f"""you are twensa hosting chat bot
|
13 |
to know more about twensa hosting this is an ad about them :
|
|
|
5 |
import os
|
6 |
from threading import Thread
|
7 |
|
8 |
+
|
9 |
+
from datasets import load_dataset
|
10 |
+
|
11 |
+
ds = load_dataset("hichri-mo/twensa-hositng")
|
12 |
+
context=ds["text"]
|
13 |
|
14 |
system_prompt = f"""you are twensa hosting chat bot
|
15 |
to know more about twensa hosting this is an ad about them :
|