Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 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
|
| 5 |
|
| 6 |
"/{}/"
|
| 7 |
'''
|
|
|
|
| 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` of any programming language , of any length ,if any. If there are no Code Snippets in the below Text then return No:
|
| 5 |
|
| 6 |
"/{}/"
|
| 7 |
'''
|