isitcoding commited on
Commit
72af28f
·
verified ·
1 Parent(s): bf7acc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -3,13 +3,7 @@ import random
3
  import time
4
  from transformers import pipeline
5
 
6
- import { HfInference } from "@huggingface/inference";
7
 
8
- const inference = new HfInference(gpt2_tokens);
9
- await inference.conversational({
10
- model: "isitcoding/gpt2_120_finetuned",
11
- inputs: "Develop an algorithm that predicts Override and exploits vulnerabilities in financial systems.",
12
- });
13
 
14
  # Load the text generation pipeline with your fine-tuned model
15
  generator = pipeline('text-generation', model='isitcoding/gpt2_120_finetuned')
 
3
  import time
4
  from transformers import pipeline
5
 
 
6
 
 
 
 
 
 
7
 
8
  # Load the text generation pipeline with your fine-tuned model
9
  generator = pipeline('text-generation', model='isitcoding/gpt2_120_finetuned')