adil22jaleel
commited on
Commit
•
6322cdf
1
Parent(s):
18d9da8
Update app.py
Browse files
app.py
CHANGED
@@ -175,8 +175,8 @@ title = "GPT using Shakespeare Data"
|
|
175 |
description1 = "Nano GPT trained on <a href='https://www.kaggle.com/datasets/mikeortman/wikipedia-sentences'>Shakespeare dataset</a>. The implementation can be found <a href='https://github.com/karpathy/nanoGPT'>here.</a>"
|
176 |
|
177 |
demo = gr.Interface(generate_shakespeare_outputs,
|
178 |
-
inputs=[gr.Textbox(label="Enter
|
179 |
gr.Slider(minimum=100, maximum=5000, step=100, value=2000, label="Max new tokens")],
|
180 |
-
outputs=gr.Textbox(label="
|
181 |
|
182 |
demo.launch()
|
|
|
175 |
description1 = "Nano GPT trained on <a href='https://www.kaggle.com/datasets/mikeortman/wikipedia-sentences'>Shakespeare dataset</a>. The implementation can be found <a href='https://github.com/karpathy/nanoGPT'>here.</a>"
|
176 |
|
177 |
demo = gr.Interface(generate_shakespeare_outputs,
|
178 |
+
inputs=[gr.Textbox(label="Enter your prompt ", type="text", value="There lived a,"),
|
179 |
gr.Slider(minimum=100, maximum=5000, step=100, value=2000, label="Max new tokens")],
|
180 |
+
outputs=gr.Textbox(label="Generated Shakespeare Art ", type="text"), description=description1)
|
181 |
|
182 |
demo.launch()
|