aliabd HF staff commited on
Commit
159dc34
1 Parent(s): 5872d00

Upload with huggingface_hub

Browse files
Files changed (2) hide show
  1. README.md +7 -7
  2. app.py +1 -0
README.md CHANGED
@@ -1,12 +1,12 @@
 
1
  ---
2
- title: Text Generation
3
- emoji: 📉
4
- colorFrom: pink
5
- colorTo: purple
6
  sdk: gradio
7
- sdk_version: 3.2
 
8
  app_file: app.py
9
  pinned: false
10
  ---
11
-
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
+
2
  ---
3
+ title: text_generation
4
+ emoji: 💩
5
+ colorFrom: indigo
6
+ colorTo: indigo
7
  sdk: gradio
8
+ sdk_version: 3.3
9
+
10
  app_file: app.py
11
  pinned: false
12
  ---
 
 
app.py CHANGED
@@ -1,4 +1,5 @@
1
  # URL: https://huggingface.co/spaces/gradio/text_generation
 
2
  # imports
3
  import gradio as gr
4
  from transformers import pipeline
 
1
  # URL: https://huggingface.co/spaces/gradio/text_generation
2
+ # DESCRIPTION: This text generation demo takes in input text and returns generated text. It uses the Transformers library to set up the model and has two examples.
3
  # imports
4
  import gradio as gr
5
  from transformers import pipeline