Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
title="RoBERTa"
|
| 4 |
+
|
| 5 |
+
description="Gradio demo for RoBERTa"
|
| 6 |
+
|
| 7 |
+
examples=[["The goal of life is <mask>."]]
|
| 8 |
+
|
| 9 |
+
gr.Interface.load("huggingface/roberta-base",title=title,description=description,examples=examples).launch(enable_queue=True,cache_examples=True)
|