Spaces:
Runtime error
Runtime error
Görkem Göknar
commited on
Commit
·
5200fc9
1
Parent(s):
c0f3f5f
Turkish model
Browse files
app.py
CHANGED
@@ -4,4 +4,16 @@ def greet(name):
|
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
-
iface.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
+
iface.launch()
|
8 |
+
|
9 |
+
|
10 |
+
description = "GPT-2 AI Yazar"
|
11 |
+
title = "Başlangıcı yazın yapay zeka kalanını getirsin www.metayazar.com"
|
12 |
+
examples = [["Çok uzun zaman önce dağların ardında biri yaşarmış."]]
|
13 |
+
|
14 |
+
interface = gr.Interface.load("huggingface/gorkemgoknar/gpt2-turkish-writer",
|
15 |
+
description=description,
|
16 |
+
examples=examples
|
17 |
+
)
|
18 |
+
|
19 |
+
interface.launch()
|