aliabd HF staff commited on
Commit
b674c90
1 Parent(s): 70c9ba6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@
2
  # DESCRIPTION: This text generation demo works like autocomplete. There's only one textbox and it's used for both the input and the output. The demo loads the model as an interface, and uses that interface as an API. It then uses blocks to create the UI. All of this is done in less than 10 lines of code.
3
  # imports
4
  import gradio as gr
 
5
 
6
  auth_token = os.getenv("auth_token")
7
 
 
2
  # DESCRIPTION: This text generation demo works like autocomplete. There's only one textbox and it's used for both the input and the output. The demo loads the model as an interface, and uses that interface as an API. It then uses blocks to create the UI. All of this is done in less than 10 lines of code.
3
  # imports
4
  import gradio as gr
5
+ import os
6
 
7
  auth_token = os.getenv("auth_token")
8