RoAr777 commited on
Commit
30ed878
·
1 Parent(s): 6fac1b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  import time
3
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
4
- prompt=''' Review the Following text as a human, who is tasked to Extract `Code Snippets`.This is very important for my career:
5
 
6
- " {} "
7
  '''
8
  replacements = {
9
  '{': 'OpenCurlyBrace',
 
1
  import gradio as gr
2
  import time
3
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
4
+ prompt=''' Review the Following text as a human, who is tasked to Extract `Code Snippets`If No code Snippets are there then return NO.This is very important for my career:
5
 
6
+ Text: " {} "
7
  '''
8
  replacements = {
9
  '{': 'OpenCurlyBrace',