adil22jaleel commited on
Commit
6322cdf
1 Parent(s): 18d9da8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 any prompt ", type="text", value="Once upon a time,"),
179
  gr.Slider(minimum=100, maximum=5000, step=100, value=2000, label="Max new tokens")],
180
- outputs=gr.Textbox(label="Output generated", type="text"), description=description1)
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()