Spaces:
Runtime error
Runtime error
traversaal-ai
commited on
Commit
•
a6b011a
1
Parent(s):
985651e
Update run.py
Browse files
run.py
CHANGED
@@ -39,15 +39,6 @@ FastLanguageModel.for_inference(model)
|
|
39 |
|
40 |
|
41 |
|
42 |
-
from unsloth import FastLanguageModel
|
43 |
-
import gradio as gr
|
44 |
-
from transformers import TextIteratorStreamer
|
45 |
-
from threading import Thread
|
46 |
-
import torch
|
47 |
-
|
48 |
-
|
49 |
-
FastLanguageModel.for_inference(model)
|
50 |
-
|
51 |
chat_prompt = """
|
52 |
### Instruction:
|
53 |
You are a chatbot. Provide answers with your best knowledge in Urdu only. Don't say you don't know unless you really don't
|
|
|
39 |
|
40 |
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
chat_prompt = """
|
43 |
### Instruction:
|
44 |
You are a chatbot. Provide answers with your best knowledge in Urdu only. Don't say you don't know unless you really don't
|