Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ description = "Demo for Puisi Generator ID. Models are GPT-2"
|
|
68 |
article = "<p style='text-align: center'><a href='https://github.com/sultanbst123/Hugging-Face-indo' target='_blank'><u>Untuk penjelasan lihat di repo ku</u> 😁</a></p>"
|
69 |
|
70 |
#run gradio
|
71 |
-
gr.Interface(
|
72 |
fn=run_model,
|
73 |
#input text
|
74 |
inputs=[
|
@@ -96,7 +96,9 @@ gr.Interface(
|
|
96 |
title=title,
|
97 |
description=description,
|
98 |
article=article,
|
99 |
-
examples=contoh)
|
|
|
|
|
100 |
|
101 |
|
102 |
|
|
|
68 |
article = "<p style='text-align: center'><a href='https://github.com/sultanbst123/Hugging-Face-indo' target='_blank'><u>Untuk penjelasan lihat di repo ku</u> 😁</a></p>"
|
69 |
|
70 |
#run gradio
|
71 |
+
run = gr.Interface(
|
72 |
fn=run_model,
|
73 |
#input text
|
74 |
inputs=[
|
|
|
96 |
title=title,
|
97 |
description=description,
|
98 |
article=article,
|
99 |
+
examples=contoh)
|
100 |
+
|
101 |
+
run.launch(debug = True)
|
102 |
|
103 |
|
104 |
|