Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
git clone https://huggingface.co/neuraly/bert-base-italian-cased-sentiment
|
| 2 |
+
|
| 3 |
+
import gradio as gr
|
| 4 |
+
|
| 5 |
+
def greet(name):
|
| 6 |
+
return "Hello " + name + "!!"
|
| 7 |
+
|
| 8 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 9 |
+
iface.launch()
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
git add app.py
|
| 13 |
+
git commit -m "Add application file"
|
| 14 |
+
git push
|