Spaces:
Runtime error
Runtime error
pip64
commited on
Commit
·
5e95957
1
Parent(s):
e66f3b3
dataset
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import markovify
|
3 |
import random
|
4 |
|
5 |
-
def gen():
|
6 |
dataset = "./dataset.txt"
|
7 |
|
8 |
with open(dataset, encoding="utf-8") as f:
|
|
|
2 |
import markovify
|
3 |
import random
|
4 |
|
5 |
+
def gen(text):
|
6 |
dataset = "./dataset.txt"
|
7 |
|
8 |
with open(dataset, encoding="utf-8") as f:
|