Spaces:
Runtime error
Runtime error
Commit
·
3c2f6e1
1
Parent(s):
72d0264
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def the_process(input_text, model_choice):
|
|
40 |
if(pythonFlag == "false"):
|
41 |
print("Inside llama for python")
|
42 |
tokenizer = AutoTokenizer.from_pretrained("nadiamaqbool81/starcoderbase-1b-hf_python")
|
43 |
-
model = AutoModelForCausalLM.from_pretrained("nadiamaqbool81/starcoderbase-1b-hf_python"
|
44 |
output = run_predict(input_text, model, tokenizer)
|
45 |
print("output" , output)
|
46 |
pythonFlag = "true"
|
|
|
40 |
if(pythonFlag == "false"):
|
41 |
print("Inside llama for python")
|
42 |
tokenizer = AutoTokenizer.from_pretrained("nadiamaqbool81/starcoderbase-1b-hf_python")
|
43 |
+
model = AutoModelForCausalLM.from_pretrained("nadiamaqbool81/starcoderbase-1b-hf_python")
|
44 |
output = run_predict(input_text, model, tokenizer)
|
45 |
print("output" , output)
|
46 |
pythonFlag = "true"
|