hichri-mo commited on
Commit
a9a712b
β€’
1 Parent(s): ffb6bec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -5,9 +5,11 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStream
5
  import os
6
  from threading import Thread
7
 
8
- !gdown 17_uyVadOd6pCzZ044hFOWUX4o6DkB00t
9
- with open("scraped_data.txt") as f :
10
- context = f.read()
 
 
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 :