mikegarts commited on
Commit
be76889
1 Parent(s): 815cc40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -62,7 +62,9 @@ def generate_story(prompt):
62
 
63
  with gr.Blocks() as demo:
64
  title = gr.Markdown('## Lord of the rings app')
65
- description = gr.Markdown(f'#### A Lord of the rings insired app that combines text and image generation. The language modeling is done by fine tuning distilgpt2 on the LOTR trilogy. The text2img model is {model_id}. The summarization is done using distilbart.')
 
 
66
  prompt = gr.Textbox(label="Your prompt", value="Frodo took the sword and")
67
  story = gr.Textbox(label="Your story")
68
  summary = gr.Textbox(label="Summary")
 
62
 
63
  with gr.Blocks() as demo:
64
  title = gr.Markdown('## Lord of the rings app')
65
+ description = gr.Markdown(f'#### A Lord of the rings insired app that combines text and image generation.'
66
+ f' The language modeling is done by fine tuning distilgpt2 on the LOTR trilogy.'
67
+ f' The text2img model is {model_id}. The summarization is done using distilbart.')
68
  prompt = gr.Textbox(label="Your prompt", value="Frodo took the sword and")
69
  story = gr.Textbox(label="Your story")
70
  summary = gr.Textbox(label="Summary")